import Vue from 'vue'
import Router from 'vue-router'

/* 布局 */
import Layout from '@/views/Teacher/Layout'

//获取原型对象上的push函数
const originalPush = Router.prototype.push
//修改原型对象中的push方法
Router.prototype.push = function push(location) {
    return originalPush.call(this, location).catch(err => err)
}
Vue.use(Router)

export const constantRouterMap = [
    // 登录
    {
        path: '/login',
        component: () =>
            import('@/views/login'),
        name: '登录'
    },
    //竞赛审批，报告详情页ReportDetails
    {
        path: "/ReportDetails",
        component: () =>
            import('@/views/Teacher/Competition/ReportDetails'),
        name: "ReportDetails",
    },
    // 竞赛实况
    {
        path: "/CompetitionLive",
        component: () =>
            import('@/views/Teacher/Competition/CompetitionLive'),
        name: "CompetitionLive",
        meta: {
            navActive: '/CompetitionLive',
            title: '竞赛实况',
            breadcrumb: [
                {
                    name: '竞赛管理',
                    path: '/competitionManagement'
                },
                {
                    name: '竞赛实况'
                }
            ]
        },
    },
    // 首页
    {
        path: '/Teaching',
        component: () =>
            import('@/views/Teacher/Layout'),
        redirect: '/Teaching/index',
        children: [
            {
                path: '/competitionManagement',
                component: () =>
                    import('@/views/competitionManagement/index.vue'),
                name: 'competitionManagement',
                meta: {
                    navActive: '/competitionManagement',
                    title: '竞赛管理'
                },
            },
            {
                path: '/competitionDetails',
                redirect: '/competitionManagement/config',
                component: () =>
                    import('@/views/competitionManagement/competitionDetails.vue'),
                name: 'competitionDetails',
                meta: {
                    navActive: '/competitionManagement',
                },
                children: [
                    {
                        path: '/competitionManagement/config',
                        component: () =>
                            import('@/views/competitionManagement/config'),
                        name: 'competitionManagementConfig',
                        meta: {
                            navActive: '/competitionManagement/config',
                            title: '竞赛设置',
                            breadcrumb: [
                                {
                                    name: '竞赛管理',
                                    path: '/competitionManagement'
                                },
                                {
                                    name: '竞赛设置'
                                }
                            ]
                        },

                    },
                    {
                        path: '/competitionManagement/introduce',
                        component: () =>
                            import('@/views/competitionManagement/introduce'),
                        name: 'competitionManagementIntroduce',
                        meta: {
                            navActive: '/competitionManagement/introduce',
                            title: '竞赛介绍',
                            breadcrumb: [
                                {
                                    name: '竞赛管理',
                                    path: '/competitionManagement'
                                },
                                {
                                    name: '竞赛介绍'
                                }
                            ]
                        },
                    },
                    {
                        path: '/competitionManagement/ManageVirtualMachine',
                        component: () =>
                            import('@/views/competitionManagement/ManageVirtualMachine'),
                        name: 'competitionManagementMachine',
                        meta: {
                            navActive: '/competitionManagement/ManageVirtualMachine',
                            title: '虚机管理',
                            breadcrumb: [
                                {
                                    name: '竞赛管理',
                                    path: '/competitionManagement'
                                },
                                {
                                    name: '虚机管理'
                                }
                            ]
                        },
                    },
                    {
                        path: '/competitionManagement/player',
                        component: () =>
                            import('@/views/competitionManagement/player'),
                        name: 'competitionManagementPlayer',
                        meta: {
                            navActive: '/competitionManagement/player',
                            title: '选手管理',
                            breadcrumb: [
                                {
                                    name: '竞赛管理',
                                    path: '/competitionManagement'
                                },
                                {
                                    name: '选手管理'
                                }
                            ]
                        },
                    },
                    //教师端竞赛相关管理
                    // 任务管理123 Task details
                    {
                        path: "/TaskManagement",
                        component: () =>
                            import('@/views/Teacher/Competition/TaskManagement'),
                        name: "TaskManagement",
                        meta: {
                            navActive: '/TaskManagement',
                            title: '任务管理',
                            breadcrumb: [
                                {
                                    name: '竞赛管理',
                                    path: '/competitionManagement'
                                },
                                {
                                    name: '任务管理'
                                }
                            ]
                        },
                    },
                    // 任务详情
                    {
                        path: "/TaskDetails",
                        component: () =>
                            import('@/views/Teacher/Competition/TaskDetails'),
                        name: "TaskDetails",
                        meta: {
                            navActive: '/TaskManagement',
                            title: '任务详情',
                            breadcrumb: [
                                {
                                    name: '竞赛管理',
                                    path: '/competitionManagement'
                                },
                                {
                                    name: '任务管理',
                                    path: '/TaskManagement',

                                },
                                {
                                    name: '任务详情'
                                }
                            ]
                        },
                    },





                    //评委管理
                    {
                        path: "/JudgeManagements",
                        component: () =>
                            import('@/views/Teacher/Competition/JudgeManagements'),
                        name: "JudgeManagements",
                        meta: {
                            navActive: '/JudgeManagements',
                            title: '评委管理',
                            breadcrumb: [
                                {
                                    name: '竞赛管理',
                                    path: '/competitionManagement'
                                },
                                {
                                    name: '评委管理'
                                }
                            ]
                        },
                    },
                    // 竞赛审批
                    {
                        path: "/CompetitionApproval",
                        component: () =>
                            import('@/views/Teacher/Competition/CompetitionApproval'),
                        name: "CompetitionApproval",
                        meta: {
                            navActive: '/CompetitionApproval',
                            title: '竞赛审批',
                            breadcrumb: [
                                {
                                    name: '竞赛管理',
                                    path: '/competitionManagement'
                                },
                                {
                                    name: '竞赛审批'
                                }
                            ]
                        },
                    },
                    // 竞赛审批 审批页面
                    {
                        path: "/ApprovalPage",
                        component: () =>
                            import('@/views/Teacher/Competition/ApprovalPage'),
                        name: "ApprovalPage",
                        meta: {
                            navActive: '/CompetitionApproval',
                            title: '竞赛审批',
                            breadcrumb: [
                                {
                                    name: '竞赛管理',
                                    path: '/competitionManagement'
                                },
                                {
                                    name: '竞赛审批'
                                },
                                {
                                    name: '审批'
                                }
                            ]
                        },
                    },
                    // 竞赛排名
                    {
                        path: "/CompetitionRanking",
                        component: () =>
                            import('@/views/Teacher/Competition/CompetitionRanking'),
                        name: "CompetitionRanking",
                        meta: {
                            navActive: '/CompetitionRanking',
                            title: '竞赛排名',
                            breadcrumb: [
                                {
                                    name: '竞赛管理',
                                    path: '/competitionManagement'
                                },
                                {
                                    name: '竞赛排名'
                                }
                            ]
                        },
                    },
                    //教师端竞赛相关管理end

                ]
            },

            // 首页
            {
                path: '',
                component: () =>
                    import('@/views/Teacher/LayoutHome'),
                redirect: '/Teaching/index',
                meta: {
                    navActive: '/Teaching/index',
                    // auth: true // 设置当前路由需要校验  不需要校验的路由就不用写了
                },
                children: [{
                    path: 'index',
                    component: () =>
                        import('@/views/Teacher/Index'),
                    name: 'index',
                    meta: {
                        title: '首页',
                        keepAlive: true
                    }
                },
                {
                    path: '/CompetitionDetail',
                    component: () => import('@/views/Teacher/Competition/CompetitionDetail'),
                    name: 'CompetitionDetail',
                    meta: {
                        title: '竞赛详情',
                        keepAlive: true
                    }
                },
                {
                    path: 'SignUp',
                    component: () =>
                        import('@/views/Teacher/SignUp'),
                    name: 'SignUp',
                    meta: {
                        title: '竞赛报名',
                        keepAlive: true
                    }
                }]
            },
        ]
    },

    // 404
    {
        path: '/401',
        component: () =>
            import('@/views/errorPage/401'),
        meta: {
            title: '401'
        }
    },
    {
        path: '/404',
        component: () =>
            import('@/views/errorPage/404'),
        meta: {
            title: '404'
        }
    },
    //wwm end
    {
        path: '/secondNav',
        component: () =>
            import('@/views/Teacher/MyCourses/SecondNav'),
        name: '二级导航',
        hidden: true
    },
    {
        path: '/TableDemo',
        component: () =>
            import('@/views/Teacher/MyCourses/TableDemo'),
        name: 'table111',
        hidden: true
    },
    //yx teacher统计
    // {
    //     path: '/AnalysisTeacher',
    //     component: () =>
    //         import('@/views/Teacher/TeachingStatistics/AnalysisTeacher'),
    //     name: '教学统计分析',
    // },
    // {
    //     path: '/AnalysisTeacherDetail',
    //     component: () =>
    //         import('@/views/Teacher/TeachingStatistics/AnalysisTeacherDetail'),
    //     name: '教学统计分析-详情',
    // },
    // {
    //     path: '/StudentAnalysis',
    //     component: () =>
    //         import('@/views/Teacher/TeachingStatistics/StudentAnalysis'),
    //     name: '学生统计分析',
    // },
    // {
    //     path: '/StudentAnalysisDetail',
    //     component: () =>
    //         import('@/views/Teacher/TeachingStatistics/StudentAnalysisDetail'),
    //     name: '学生统计分析-详情',
    // },
    // {
    //     path: '/Setweight',
    //     component: () =>
    //         import('@/views/Teacher/TeachingStatistics/Setweight'),
    //     name: '学生统计设置权重',
    // },
    // {
    //     path: '/PowerDEtail',
    //     component: () =>
    //         import('@/views/Teacher/TeachingStatistics/PowerDEtail'),
    //     name: '学生统计能力详情',
    // },
    // 学生端


    // {
    //     path: '/SAnswerListDetail',
    //     component: () =>
    //         import ('@/views/Student/MyCourses/SAnswerListDetail'),
    //     name: 'SAnswerListDetail',
    //     meta: {
    //         title: '学生-问题列表'
    //     }
    // },
    // {
    //     path: '/SMyQuestionDetail',
    //     component: () =>
    //         import ('@/views/Student/MyCourses/SMyQuestionDetail'),
    //     name: 'SMyQuestionDetail',
    //     meta: {
    //         title: '学生-问题列表'
    //     }
    // },
    // {
    //     path: '/SMyQuestion',
    //     component: () =>
    //         import ('@/views/Student/MyCourses/SMyQuestion'),
    //     name: 'SMyQuestion',
    //     meta: {
    //         title: '学生-问题列表'
    //     }
    // },
    // {
    //     path: '/SMyAnswer',
    //     component: () =>
    //         import ('@/views/Student/MyCourses/SMyAnswer'),
    //     name: 'SMyAnswer',
    //     meta: {
    //         title: '学生-问题列表'
    //     }
    // },
    // {
    //     path: '/SMyAnswerDetail',
    //     component: () =>
    //         import ('@/views/Student/MyCourses/SMyAnswerDetail'),
    //     name: 'SMyAnswerDetail',
    //     meta: {
    //         title: '学生-问题列表'
    //     }
    // }
    // yx结束
]
export default new Router({
    scrollBehavior: function (to) {
        return new Promise((resolve, reject) => {
            if (to.hash) {
                setTimeout(() => {
                    resolve({
                        selector: to.hash
                    })
                }, 800);
            } else {
                resolve({ y: 0 })
            }

        })

    },
    routes: constantRouterMap,
    mode: 'history',
    linkActiveClass: 'active-link',
    linkExactActiveClass: 'exact-active-link',
    fallback: true,
})

export const asyncRouterMap = [
    // 内部访问页
    {
        path: '/xlhtest',
        component: () => import('@/views/xlhtest'),
        meta: {
            roles: ['ADMIN', 'INTERNET_ADMIN', 'SUPER_ADMIN'],
        },
        name: '内部访问'
    },
    // 靳春野添加从另一个服务器导入课程和章节的路由
    {
        path: '/GuideTols',
        component: () => import('@/views/administrator/GuideTols'),
        meta: {
            roles: ['ADMIN', 'INTERNET_ADMIN', 'SUPER_ADMIN'],
        },
        name: '内部访问2'
    },
    // 管理员页面
    {
        path: '/Admin',
        component: () =>
            import('@/views/Teacher/Layout'),
        // redirect: '/Admin/TeachingMange',
        meta: {
            roles: ['ADMIN', 'INTERNET_ADMIN', 'SUPER_ADMIN'],
        },
        children: [
            // 首页
            // {
            //     path: 'TeachingMange',
            //     component: () =>
            //         import ('@/views/administrator/TeachingMange/TeachingMange'),
            //     name: 'TeachingMange',
            //     meta: {
            //         roles: ['ADMIN', 'SUPER_ADMIN'],
            //         navActive: '/Admin/TeachingMange',
            //         title: '教学管理'
            //     }
            // },
            // 管理员
            {
                path: 'manage',
                component: () =>
                    import('@/views/InternetAdmin/InternrtMangeLayout'),
                redirect: '/Admin/Internet/TeachMange',
                meta: {
                    roles: ['ADMIN', 'SUPER_ADMIN'],
                    navActive: '/Admin/manage/TeachingMange',
                },
                children: [
                    {
                        path: 'TeachingMange',
                        component: () =>
                            import('@/views/administrator/TeachingMange/TeachingMange'),
                        name: 'TeachingMange',
                        meta: {
                            navActive: '/Admin/manage/TeachingMange',
                            title: '教师管理'
                        }
                    },
                    {
                        path: 'ManageClass',
                        component: () => import('@/views/InternetAdmin//ManageClassLayout'),
                        redirect: '/Admin/manage/ManageClass/ClassTeachMange',
                        meta: {
                            navActive: '/Admin/manage/ManageClass/ClassTeachMange'
                        },
                        children: [{
                            path: 'ClassTeachMange',
                            component: () => import('@/views/InternetAdmin/TeachingMange/ClassTeachMange'),
                            name: 'ClassTeachMange',
                            meta: {
                                navActive: '/Admin/manage/ManageClass/ClassTeachMange',
                                title: '班级管理'
                            }
                        },
                        {
                            path: 'StudentTeachMange',
                            component: () => import('@/views/InternetAdmin/TeachingMange/StudentTeachMange'),
                            name: 'StudentTeachMange',
                            meta: {
                                navActive: '/Admin/manage/ManageClass/StudentTeachMange',
                                title: '选手管理'
                            }
                        },
                        ]
                    }
                ]
            },
            // 系统功能
            {
                path: 'System',
                component: () =>
                    import('@/views/administrator/System/SystemLayout'),
                redirect: '/Admin/System/SystemVersion',
                meta: {
                    roles: ['SUPER_ADMIN', 'INTERNET_ADMIN', 'ADMIN'],
                    navActive: '/Admin/System/SystemVersion',
                },
                children: [
                    {
                        path: 'SystemBackUp',
                        component: () => import('@/views/administrator/System/SystemBackUp'),
                        name: 'SystemBackUp',
                        meta: {
                            navActive: '/Admin/System/SystemBackUp',
                            title: '文件备份'
                        }
                    },
                    {
                        path: 'SystemVersion',
                        component: () => import('@/views/administrator/System/SystemVersion'),
                        name: 'SystemVersion',
                        meta: {
                            navActive: '/Admin/System/SystemVersion',
                            title: '系统版本'
                        }
                    },
                    {
                        path: 'SystemDisplay',
                        component: () => import('@/views/administrator/System/SystemDisplay'),
                        name: 'SystemDisplay',
                        meta: {
                            navActive: '/Admin/System/SystemDisplay',
                            title: '功能显隐'
                        }
                    }
                ]

            },
            //资源详情
            {
                path: 'CreativeCourse',
                component: () =>
                    import('@/views/Teacher/CreativeCourse/CreativeProductionLayout'),
                //redirect: '/Admin/CreativeCourse/CourseBaseInfo',
                meta: {
                    navActive: '/Admin/Production/Course',
                    roles: ['INTERNET_ADMIN', 'SUPER_ADMIN']
                },
                children: [
                    {
                        path: 'CourseBaseInfo',
                        component: () =>
                            import('@/views/Teacher/CreativeCourse/CourseBaseInfo'),
                        name: 'CourseBaseInfo',
                        meta: {
                            navActive: '/Admin/CreativeCourse/CourseBaseInfo',
                            title: '竞赛管理-基本信息',
                            breadcrumb: [
                                {
                                    name: '资源制作',
                                    path: '/Admin/Production/Course'
                                },
                                {
                                    name: '基本信息'
                                }
                            ]
                        },
                    },
                    {
                        path: 'CourseBaseOutline',
                        component: () =>
                            import('@/views/Teacher/CreativeCourse/CourseBaseOutline'),
                        name: 'CourseBaseOutline',
                        meta: {
                            navActive: '/Admin/CreativeCourse/CourseBaseOutline',
                            title: '竞赛管理-课程大纲',
                            breadcrumb: [{
                                name: '资源制作',
                                path: '/Admin/Production/Course'
                            },
                            {
                                name: '课程大纲',
                            }
                            ]
                        },
                    },
                    // 任务管理123
                    {
                        path: 'ChapterInfo',
                        component: () =>
                            import('@/views/Teacher/CreativeCourse/ChapterInfo'),
                        name: 'ChapterInfo',
                        meta: {
                            navActive: '/Admin/CreativeCourse/ChapterInfo',
                            title: '竞赛管理-任务管理',
                            breadcrumb: [
                                {
                                    name: '资源制作',
                                    path: '/Admin/Production/Course'
                                },
                                {
                                    name: '任务管理'
                                }
                            ]
                        },
                    },
                    //专科版本需求
                    {
                        path: 'ChapterClassification',
                        component: () =>
                            import('@/views/Teacher/CreativeCourse/ChapterClassification'),
                        name: 'ChapterClassification',
                        meta: {
                            navActive: '/Admin/CreativeCourse/ChapterClassification',
                            title: '竞赛管理-章节分类',
                            breadcrumb: [
                                {
                                    name: '资源制作',
                                    path: '/Admin/Production/Course'
                                },
                                {
                                    name: '章节分类'
                                }
                            ]
                        },
                    },
                    {
                        path: 'ItemBankList',
                        component: () =>
                            import('@/views/Teacher/MyCourses/ItemBank'),
                        name: 'ItemBankListAdmin',
                        meta: {
                            navActive: '/Admin/CreativeCourse/ItemBankList',
                            title: '竞赛管理-考试试题',
                            breadcrumb: [
                                {
                                    name: '资源制作',
                                    path: '/Admin/Production/Course'
                                },
                                {
                                    name: '考试试题'
                                }
                            ]
                        }
                    },
                    {
                        path: 'AddChoiceQuestion',
                        component: () =>
                            import('@/views/Teacher/MyCourses/AddChoiceQuestion'),
                        name: 'AddChoiceQuestion',
                        meta: {
                            navActive: '/Admin/CreativeCourse/ItemBankList',
                            title: '竞赛管理-添加试题-选择题',
                            breadcrumb: [
                                {
                                    name: '资源制作',
                                    path: '/Admin/Production/Course'
                                },
                                {
                                    name: '考试试题',
                                    path: '/Admin/CreativeCourse/ItemBankList'
                                },
                                {
                                    name: '选择题'
                                }
                            ]
                        }
                    },
                    {
                        path: 'AddJudge',
                        component: () =>
                            import('@/views/Teacher/MyCourses/AddJudge'),
                        name: 'AddJudge',
                        meta: {
                            navActive: '/Admin/CreativeCourse/ItemBankList',
                            title: '竞赛管理-添加试题-判断题',
                            breadcrumb: [
                                {
                                    name: '资源制作',
                                    path: '/Admin/Production/Course'
                                },
                                {
                                    name: '考试试题',
                                    path: '/Admin/CreativeCourse/ItemBankList'
                                },
                                {
                                    name: '判断题'
                                }
                            ]
                        }
                    },
                    {
                        path: 'AddFillInTheBlanks',
                        component: () =>
                            import('@/views/Teacher/MyCourses/AddFillInTheBlanks'),
                        name: 'AddFillInTheBlanks',
                        meta: {
                            navActive: '/Admin/CreativeCourse/ItemBankList',
                            title: '竞赛管理-添加试题-填空题',
                            breadcrumb: [
                                {
                                    name: '资源制作',
                                    path: '/Admin/Production/Course'
                                },
                                {
                                    name: '考试试题',
                                    path: '/Admin/CreativeCourse/ItemBankList'
                                },
                                {
                                    name: '填空题'
                                }
                            ]
                        }
                    },
                    {
                        path: 'AddShortAnswerQuestions',
                        component: () =>
                            import('@/views/Teacher/MyCourses/AddShortAnswerQuestions'),
                        name: 'AddShortAnswerQuestions',
                        meta: {
                            navActive: '/Admin/CreativeCourse/ItemBankList',
                            title: '竞赛管理-添加试题-简答题',
                            breadcrumb: [
                                {
                                    name: '资源制作',
                                    path: '/Admin/Production/Course'
                                },
                                {
                                    name: '考试试题',
                                    path: '/Admin/CreativeCourse/ItemBankList'
                                },
                                {
                                    name: '简答题'
                                }
                            ]
                        }
                    },
                    {
                        path: 'AddExperimental',
                        component: () =>
                            import('@/views/Teacher/MyCourses/AddExperimental'),
                        name: 'AddExperimental',
                        meta: {
                            navActive: '/Admin/CreativeCourse/ItemBankList',
                            title: '竞赛管理-添加试题-实验题',
                            breadcrumb: [
                                {
                                    name: '资源制作',
                                    path: '/Admin/Production/Course'
                                },
                                {
                                    name: '考试试题',
                                    path: '/Admin/CreativeCourse/ItemBankList'
                                },
                                {
                                    name: '实验题'
                                }
                            ]
                        }
                    },
                    {
                        path: 'ExcelImport',
                        component: () =>
                            import('@/views/Teacher/MyCourses/ExcelImport'),
                        name: 'ExcelImport',
                        meta: {
                            navActive: '/Admin/CreativeCourse/ItemBankList',
                            title: '竞赛管理-Excel导入',
                            breadcrumb: [
                                {
                                    name: '资源制作',
                                    path: '/Admin/Production/Course'
                                },
                                {
                                    name: '考试试题',
                                    path: '/Admin/CreativeCourse/ItemBankList'
                                },
                                {
                                    name: 'Excel导入'
                                }
                            ]
                        }
                    },
                    {
                        path: 'ItemBankImport',
                        component: () =>
                            import('@/views/Teacher/MyCourses/ItemBankImport'),
                        name: 'ItemBankImport',
                        meta: {
                            navActive: '/Admin/CreativeCourse/ItemBankList',
                            title: '竞赛管理-题库导入',
                            breadcrumb: [
                                {
                                    name: '资源制作',
                                    path: '/Admin/Production/Course'
                                },
                                {
                                    name: '考试试题',
                                    path: '/Admin/CreativeCourse/ItemBankList'
                                },
                                {
                                    name: '题库导入'
                                }
                            ]
                        }
                    },
                    {
                        path: 'Experiment',
                        component: () =>
                            import('@/views/Teacher/CreativeCourse/CreativeCourseExperimentLayout'),
                        redirect: '/Admin/CreativeCourse/Experiment/CourseTemplate',
                        children: [
                            {
                                path: 'CourseTemplate',
                                component: () =>
                                    import('@/views/Teacher/CreativeCourse/CourseTemplate'),
                                name: 'CourseTemplate',
                                meta: {
                                    navActive: '/Admin/CreativeCourse/Experiment/CourseTemplate',
                                    title: '竞赛管理-实验环境-课程模板',
                                    breadcrumb: [
                                        {
                                            name: '资源制作',
                                            path: '/Admin/Production/Course'
                                        },
                                        {
                                            name: '课程模板',
                                        }
                                    ]
                                }
                            },
                            {
                                path: 'MirrorManage',
                                component: () =>
                                    import('@/views/Teacher/CreativeCourse/MirrorManage'),
                                name: 'MirrorManage',
                                meta: {
                                    navActive: '/Admin/CreativeCourse/Experiment/CourseTemplate',
                                    title: '竞赛管理-实验环境-镜像管理',
                                    breadcrumb: [
                                        {
                                            name: '资源制作',
                                            path: '/Admin/Production/Course'
                                        },
                                        {
                                            name: '镜像管理',
                                        }
                                    ]
                                }
                            }
                        ]
                    },

                ]
            },
            //理论课
            {
                path: 'Detail',
                component: () =>
                    import('@/views/Teacher/CreativeCourse/CreativeCourseDetailNavLayout'),
                redirect: '/Admin/Detail/StudyFile',
                meta: {
                    navActive: '/Admin/Production/Course',
                    roles: ['INTERNET_ADMIN', 'SUPER_ADMIN']
                },
                children: [
                    {
                        path: 'StudyFile',
                        component: () =>
                            import('@/views/Teacher/CreativeCourse/StudyFile'),
                        name: 'StudyFile',
                        meta: {
                            navActive: '/Admin/Detail/StudyFile',
                            title: '理论教学',
                            breadcrumb: [
                                {
                                    name: '资源制作',
                                    path: '/Admin/Production/Course'
                                },
                                {
                                    name: '任务管理',
                                    path: '/Admin/CreativeCourse/ChapterInfo'
                                },
                                {
                                    name: '理论教学'
                                }
                            ]
                        }
                    },
                    {
                        path: 'StudyVideo',
                        component: () =>
                            import('@/views/Teacher/CreativeCourse/StudyVideo'),
                        name: 'StudyVideo',
                        meta: {
                            navActive: '/Admin/Detail/StudyVideo',
                            title: '理论课学习视频',
                            breadcrumb: [
                                {
                                    name: '资源制作',
                                    path: '/Admin/Production/Course'
                                },
                                {
                                    name: '任务管理',
                                    path: '/Admin/CreativeCourse/ChapterInfo'
                                },
                                {
                                    name: '理论课学习视频'
                                }
                            ]
                        }
                    },
                    {
                        path: 'StudyMaterials',
                        component: () =>
                            import('@/views/Teacher/CreativeCourse/StudyMaterials'),
                        name: 'StudyMaterials',
                        meta: {
                            navActive: '/Admin/Detail/StudyMaterials',
                            title: '备课材料',
                            breadcrumb: [
                                {
                                    name: '资源制作',
                                    path: '/Admin/Production/Course'
                                },
                                {
                                    name: '任务管理',
                                    path: '/Admin/CreativeCourse/ChapterInfo'
                                },
                                {
                                    name: '备课材料'
                                }
                            ]
                        }
                    },
                    {
                        path: 'StudyResourse',
                        component: () =>
                            import('@/views/Teacher/CreativeCourse/StudyResourse'),
                        name: 'StudyResourse',
                        meta: {
                            navActive: '/Admin/Detail/StudyResourse',
                            title: '学习资源',
                            breadcrumb: [
                                {
                                    name: '资源制作',
                                    path: '/Admin/Production/Course'
                                },
                                {
                                    name: '任务管理',
                                    path: '/Admin/CreativeCourse/ChapterInfo'
                                },
                                {
                                    name: '学习资源'
                                }
                            ]
                        }
                    },
                    //管理员
                    //随堂练习添加 教师端 竞赛管理 随堂练习
                    {
                        path: 'PracticeItemBank',
                        component: () =>
                            import('@/views/Teacher/MyCourses/PracticeItemBank'),
                        name: 'PracticeItemBankAdmin',
                        meta: {
                            navActive: '/Admin/Detail/PracticeItemBank',
                            title: '随堂练习',
                            breadcrumb: [
                                {
                                    name: '资源制作',
                                    path: '/Admin/Production/Course'
                                },
                                {
                                    name: '任务管理',
                                    path: '/Admin/CreativeCourse/ChapterInfo'
                                },
                                {
                                    name: '随堂练习'
                                }
                            ]
                        }
                    },
                    {
                        path: 'PracticeAddChoiceQuestion',
                        component: () =>
                            import('@/views/Teacher/MyCourses/PracticeAddChoiceQuestion'),
                        name: 'PracticeAddChoiceQuestion',
                        meta: {
                            navActive: '/Admin/Detail/PracticeItemBank',
                            title: '随堂练习-选择题',
                            breadcrumb: [
                                {
                                    name: '资源制作',
                                    path: '/Admin/Production/Course'
                                },
                                {
                                    name: '任务管理',
                                    path: '/Admin/CreativeCourse/ChapterInfo'
                                },
                                {
                                    name: '随堂练习',
                                    path: '/Admin/Detail/PracticeItemBank'
                                },
                                {
                                    name: '选择题'
                                }
                            ]
                        }
                    },
                    {
                        path: 'PracticeAddJudge',
                        component: () =>
                            import('@/views/Teacher/MyCourses/PracticeAddJudge'),
                        name: 'PracticeAddJudge',
                        meta: {
                            navActive: '/Admin/Detail/PracticeItemBank',
                            title: '随堂练习-判断题',
                            breadcrumb: [
                                {
                                    name: '资源制作',
                                    path: '/Admin/Production/Course'
                                },
                                {
                                    name: '任务管理',
                                    path: '/Admin/CreativeCourse/ChapterInfo'
                                },
                                {
                                    name: '随堂练习',
                                    path: '/Admin/Detail/PracticeItemBank'
                                },
                                {
                                    name: '判断题'
                                }
                            ]
                        }
                    },
                    {
                        path: 'PracticeAddFillInTheBlanks',
                        component: () =>
                            import('@/views/Teacher/MyCourses/PracticeAddFillInTheBlanks'),
                        name: 'PracticeAddFillInTheBlanks',
                        meta: {
                            navActive: '/Admin/Detail/PracticeItemBank',
                            title: '随堂练习-填空题',
                            breadcrumb: [
                                {
                                    name: '资源制作',
                                    path: '/Admin/Production/Course'
                                },
                                {
                                    name: '任务管理',
                                    path: '/Admin/CreativeCourse/ChapterInfo'
                                },
                                {
                                    name: '随堂练习',
                                    path: '/Admin/Detail/PracticeItemBank'
                                },
                                {
                                    name: '填空题'
                                }
                            ]
                        }
                    },
                    {
                        path: 'PracticeAddShortAnswerQuestions',
                        component: () =>
                            import('@/views/Teacher/MyCourses/PracticeAddShortAnswerQuestions'),
                        name: 'PracticeAddShortAnswerQuestions',
                        meta: {
                            navActive: '/Admin/Detail/PracticeItemBank',
                            title: '随堂练习-简答题',
                            breadcrumb: [
                                {
                                    name: '资源制作',
                                    path: '/Admin/Production/Course'
                                },
                                {
                                    name: '任务管理',
                                    path: '/Admin/CreativeCourse/ChapterInfo'
                                },
                                {
                                    name: '随堂练习',
                                    path: '/Admin/Detail/PracticeItemBank'
                                },
                                {
                                    name: '简答题'
                                }
                            ]
                        }
                    },
                    {
                        path: 'PracticeAddEnclosure',
                        component: () =>
                            import('@/views/Teacher/MyCourses/PracticeAddEnclosure'),
                        name: 'PracticeAddEnclosure',
                        meta: {
                            navActive: '/Admin/Detail/PracticeItemBank',
                            title: '随堂练习-附件题',
                            breadcrumb: [
                                {
                                    name: '资源制作',
                                    path: '/Admin/Production/Course'
                                },
                                {
                                    name: '任务管理',
                                    path: '/Admin/CreativeCourse/ChapterInfo'
                                },
                                {
                                    name: '随堂练习',
                                    path: '/Admin/Detail/PracticeItemBank'
                                },
                                {
                                    name: '附件题'
                                }
                            ]
                        }
                    },
                ]
            },
            //理论和实验
            {
                path: 'Theoretical',
                component: () =>
                    import('@/views/Teacher/CreativeCourse/CreativeCourseTheoreticalLayout'),
                redirect: '/Admin/Theoretical/StudyFile',
                meta: {
                    navActive: '/Admin/Production/Course',
                    roles: ['INTERNET_ADMIN', 'SUPER_ADMIN']

                },
                children: [
                    {
                        path: 'StudyFile',
                        component: () =>
                            import('@/views/Teacher/CreativeCourse/StudyFile'),
                        name: 'StudyFile',
                        meta: {
                            navActive: '/Admin/Theoretical/StudyFile',
                            title: '理论教学',
                            breadcrumb: [
                                {
                                    name: '资源制作',
                                    path: '/Admin/Production/Course'
                                },
                                {
                                    name: '任务管理',
                                    path: '/Admin/CreativeCourse/ChapterInfo'
                                },
                                {
                                    name: '理论教学'
                                }
                            ]
                        }
                    },
                    {
                        path: 'StudyVideo',
                        component: () =>
                            import('@/views/Teacher/CreativeCourse/StudyVideo'),
                        name: 'StudyVideo',
                        meta: {
                            navActive: '/Admin/Theoretical/StudyVideo',
                            title: '理论课学习视频',
                            breadcrumb: [
                                {
                                    name: '资源制作',
                                    path: '/Admin/Production/Course'
                                },
                                {
                                    name: '任务管理',
                                    path: '/Admin/CreativeCourse/ChapterInfo'
                                },
                                {
                                    name: '理论课学习视频'
                                }
                            ]
                        }
                    },
                    {
                        path: 'StudyMaterials',
                        component: () =>
                            import('@/views/Teacher/CreativeCourse/StudyMaterials'),
                        name: 'StudyMaterials',
                        meta: {
                            navActive: '/Admin/Theoretical/StudyMaterials',
                            title: '备课材料',
                            breadcrumb: [
                                {
                                    name: '资源制作',
                                    path: '/Admin/Production/Course'
                                },
                                {
                                    name: '任务管理',
                                    path: '/Admin/CreativeCourse/ChapterInfo'
                                },
                                {
                                    name: '备课材料'
                                }
                            ]
                        }
                    },
                    {
                        path: 'StudyResourse',
                        component: () =>
                            import('@/views/Teacher/CreativeCourse/StudyResourse'),
                        name: 'StudyResourse',
                        meta: {
                            navActive: '/Admin/Theoretical/StudyResourse',
                            title: '学习资源',
                            breadcrumb: [
                                {
                                    name: '资源制作',
                                    path: '/Admin/Production/Course'
                                },
                                {
                                    name: '任务管理',
                                    path: '/Admin/CreativeCourse/ChapterInfo'
                                },
                                {
                                    name: '学习资源'
                                }
                            ]
                        }
                    },
                    {
                        path: 'ExpeimentStudyVideo',
                        component: () =>
                            import('@/views/Teacher/CreativeCourse/ExpeimentStudyVideo'),
                        name: 'ExpeimentStudyVideo',
                        meta: {
                            navActive: '/Admin/ExpeimentStudyVideo',
                            title: '实验课学习视频',
                            breadcrumb: [
                                {
                                    name: '资源制作',
                                    path: '/Admin/Production/Course'
                                },
                                {
                                    name: '任务管理',
                                    path: '/Admin/CreativeCourse/ChapterInfo'
                                },
                                {
                                    name: '实验课学习视频'
                                }
                            ]
                        }
                    },
                    {
                        path: 'ExperimentFile',
                        component: () =>
                            import('@/views/Teacher/CreativeCourse/experimentFile'),
                        name: 'experimentFile',
                        meta: {
                            navActive: '/Admin/Theoretical/ExperimentFile',
                            title: '任务详情',
                            breadcrumb: [
                                {
                                    name: '资源制作',
                                    path: '/Admin/Production/Course'
                                },
                                {
                                    name: '任务管理',
                                    path: '/Admin/CreativeCourse/ChapterInfo'
                                },
                                {
                                    name: '任务详情'
                                }
                            ]
                        },
                    },

                    //杨加的随堂
                    {
                        path: 'PracticeItemBank',
                        component: () =>
                            import('@/views/Teacher/MyCourses/PracticeItemBank'),
                        name: 'PracticeItemBankAdmin2',
                        meta: {
                            navActive: '/Admin/Theoretical/PracticeItemBank',
                            title: '随堂练习',
                            breadcrumb: [
                                {
                                    name: '资源制作',
                                    path: '/Admin/Production/Course'
                                },
                                {
                                    name: '任务管理',
                                    path: '/Admin/CreativeCourse/ChapterInfo'
                                },
                                {
                                    name: '随堂练习'
                                }
                            ]
                        }
                    },
                    {
                        path: 'PracticeAddChoiceQuestion',
                        component: () =>
                            import('@/views/Teacher/MyCourses/PracticeAddChoiceQuestion'),
                        name: 'PracticeAddChoiceQuestion',
                        meta: {
                            navActive: '/Admin/Theoretical/PracticeItemBank',
                            title: '随堂练习-选择题',
                            breadcrumb: [
                                {
                                    name: '资源制作',
                                    path: '/Admin/Production/Course'
                                },
                                {
                                    name: '任务管理',
                                    path: '/Admin/CreativeCourse/ChapterInfo'
                                },
                                {
                                    name: '随堂练习',
                                    path: '/Admin/Theoretical/PracticeItemBank'
                                },
                                {
                                    name: '选择题'
                                }
                            ]
                        }
                    },
                    {
                        path: 'PracticeAddJudge',
                        component: () =>
                            import('@/views/Teacher/MyCourses/PracticeAddJudge'),
                        name: 'PracticeAddJudge',
                        meta: {
                            navActive: '/Admin/Theoretical/PracticeItemBank',
                            title: '随堂练习-判断题',
                            breadcrumb: [
                                {
                                    name: '资源制作',
                                    path: '/Admin/Production/Course'
                                },
                                {
                                    name: '任务管理',
                                    path: '/Admin/CreativeCourse/ChapterInfo'
                                },
                                {
                                    name: '随堂练习',
                                    path: '/Admin/Theoretical/PracticeItemBank'
                                },
                                {
                                    name: '判断题'
                                }
                            ]
                        }
                    },
                    {
                        path: 'PracticeAddFillInTheBlanks',
                        component: () =>
                            import('@/views/Teacher/MyCourses/PracticeAddFillInTheBlanks'),
                        name: 'PracticeAddFillInTheBlanks',
                        meta: {
                            navActive: '/Admin/Theoretical/PracticeItemBank',
                            title: '随堂练习-填空题',
                            breadcrumb: [
                                {
                                    name: '资源制作',
                                    path: '/Admin/Production/Course'
                                },
                                {
                                    name: '任务管理',
                                    path: '/Admin/CreativeCourse/ChapterInfo'
                                },
                                {
                                    name: '随堂练习',
                                    path: '/Admin/Theoretical/PracticeItemBank'
                                },
                                {
                                    name: '填空题'
                                }
                            ]
                        }
                    },
                    {
                        path: 'PracticeAddShortAnswerQuestions',
                        component: () =>
                            import('@/views/Teacher/MyCourses/PracticeAddShortAnswerQuestions'),
                        name: 'PracticeAddShortAnswerQuestions',
                        meta: {
                            navActive: '/Admin/Theoretical/PracticeItemBank',
                            title: '随堂练习-简答题',
                            breadcrumb: [
                                {
                                    name: '资源制作',
                                    path: '/Admin/Production/Course'
                                },
                                {
                                    name: '任务管理',
                                    path: '/Admin/CreativeCourse/ChapterInfo'
                                },
                                {
                                    name: '随堂练习',
                                    path: '/Admin/Theoretical/PracticeItemBank'
                                },
                                {
                                    name: '简答题'
                                }
                            ]
                        }
                    },
                    {
                        path: 'PracticeAddEnclosure',
                        component: () =>
                            import('@/views/Teacher/MyCourses/PracticeAddEnclosure'),
                        name: 'PracticeAddEnclosure',
                        meta: {
                            navActive: '/Admin/Theoretical/PracticeItemBank',
                            title: '随堂练习-附件题',
                            breadcrumb: [
                                {
                                    name: '资源制作',
                                    path: '/Admin/Production/Course'
                                },
                                {
                                    name: '任务管理',
                                    path: '/Admin/CreativeCourse/ChapterInfo'
                                },
                                {
                                    name: '随堂练习',
                                    path: '/Admin/Theoretical/PracticeItemBank'
                                },
                                {
                                    name: '附件题'
                                }
                            ]
                        }
                    },
                ]
            },

            //多步骤实验
            {
                path: 'Step',
                component: () =>
                    import('@/views/Teacher/CreativeCourse/CreativeCourseStepLayout'),
                redirect: '/Admin/Step/Stepfile',
                meta: {
                    navActive: '/Admin/Production/Course',
                    roles: ['INTERNET_ADMIN', 'SUPER_ADMIN']

                },
                children: [

                    {
                        path: 'StepFile',
                        component: () =>
                            import('@/views/Teacher/CreativeCourse/StepFile'),
                        name: 'StepFile',
                        meta: {
                            navActive: '/Admin/Step/Stepfile',
                            title: '任务详情',
                            breadcrumb: [
                                {
                                    name: '资源制作',
                                    path: '/Admin/Production/Course'
                                },
                                {
                                    name: '任务管理',
                                    path: '/Admin/CreativeCourse/ChapterInfo'
                                },
                                {
                                    name: '任务详情'
                                }
                            ]
                        }
                    },
                    {
                        path: 'StudyFile',
                        component: () =>
                            import('@/views/Teacher/CreativeCourse/StudyFile'),
                        name: 'StudyFile',
                        meta: {
                            navActive: '/Admin/Step/StudyFile',
                            title: '理论教学',
                            breadcrumb: [
                                {
                                    name: '资源制作',
                                    path: '/Admin/Production/Course'
                                },
                                {
                                    name: '任务管理',
                                    path: '/Admin/CreativeCourse/ChapterInfo'
                                },
                                {
                                    name: '理论教学'
                                }
                            ]
                        }
                    },
                    {
                        path: 'StudyMaterials',
                        component: () =>
                            import('@/views/Teacher/CreativeCourse/StudyMaterials'),
                        name: 'StudyMaterials',
                        meta: {
                            navActive: '/Admin/Step/StudyMaterials',
                            title: '备课材料',
                            breadcrumb: [
                                {
                                    name: '资源制作',
                                    path: '/Admin/Production/Course'
                                },
                                {
                                    name: '任务管理',
                                    path: '/Admin/CreativeCourse/ChapterInfo'
                                },
                                {
                                    name: '备课材料'
                                }
                            ]
                        }
                    },
                    {
                        path: 'StudyResourse',
                        component: () =>
                            import('@/views/Teacher/CreativeCourse/StudyResourse'),
                        name: 'StudyResourse',
                        meta: {
                            navActive: '/Admin/Step/StudyResourse',
                            title: '学习资源',
                            breadcrumb: [
                                {
                                    name: '资源制作',
                                    path: '/Admin/Production/Course'
                                },
                                {
                                    name: '任务管理',
                                    path: '/Admin/CreativeCourse/ChapterInfo'
                                },
                                {
                                    name: '学习资源'
                                }
                            ]
                        }
                    },
                    //管理员多步骤随堂练习
                    {
                        path: 'PracticeItemBank',
                        component: () =>
                            import('@/views/Teacher/MyCourses/PracticeItemBank'),
                        name: 'StepPracticeItemBankAdmin',
                        meta: {
                            navActive: '/Admin/Step/PracticeItemBank',
                            title: '随堂练习',
                            breadcrumb: [
                                {
                                    name: '资源制作',
                                    path: '/Admin/Production/Course'
                                },
                                {
                                    name: '任务管理',
                                    path: '/Admin/CreativeCourse/ChapterInfo'
                                },
                                {
                                    name: '随堂练习'
                                }
                            ]
                        }
                    },
                    {
                        path: 'PracticeAddChoiceQuestion',
                        component: () =>
                            import('@/views/Teacher/MyCourses/PracticeAddChoiceQuestion'),
                        name: 'PracticeAddChoiceQuestion',
                        meta: {
                            navActive: '/Admin/Step/PracticeItemBank',
                            title: '随堂练习-选择题',
                            breadcrumb: [
                                {
                                    name: '资源制作',
                                    path: '/Admin/Production/Course'
                                },
                                {
                                    name: '任务管理',
                                    path: '/Admin/CreativeCourse/ChapterInfo'
                                },
                                {
                                    name: '随堂练习',
                                    path: '/Admin/Step/PracticeItemBank'
                                },
                                {
                                    name: '选择题',
                                }
                            ]
                        }
                    },
                    {
                        path: 'PracticeAddJudge',
                        component: () =>
                            import('@/views/Teacher/MyCourses/PracticeAddJudge'),
                        name: 'PracticeAddJudge',
                        meta: {
                            navActive: '/Admin/Step/PracticeItemBank',
                            title: '随堂练习-判断题',
                            breadcrumb: [
                                {
                                    name: '资源制作',
                                    path: '/Admin/Production/Course'
                                },
                                {
                                    name: '任务管理',
                                    path: '/Admin/CreativeCourse/ChapterInfo'
                                },
                                {
                                    name: '随堂练习',
                                    path: '/Admin/Step/PracticeItemBank'
                                },
                                {
                                    name: '判断题',
                                }
                            ]
                        }
                    },
                    {
                        path: 'PracticeAddFillInTheBlanks',
                        component: () =>
                            import('@/views/Teacher/MyCourses/PracticeAddFillInTheBlanks'),
                        name: 'PracticeAddFillInTheBlanks',
                        meta: {
                            navActive: '/Admin/Step/PracticeItemBank',
                            title: '随堂练习-填空题',
                            breadcrumb: [
                                {
                                    name: '资源制作',
                                    path: '/Admin/Production/Course'
                                },
                                {
                                    name: '任务管理',
                                    path: '/Admin/CreativeCourse/ChapterInfo'
                                },
                                {
                                    name: '随堂练习',
                                    path: '/Admin/Step/PracticeItemBank'
                                },
                                {
                                    name: '填空题',
                                }
                            ]
                        }
                    },
                    {
                        path: 'PracticeAddShortAnswerQuestions',
                        component: () =>
                            import('@/views/Teacher/MyCourses/PracticeAddShortAnswerQuestions'),
                        name: 'PracticeAddShortAnswerQuestions',
                        meta: {
                            navActive: '/Admin/Step/PracticeItemBank',
                            title: '随堂练习-简答题',
                            breadcrumb: [
                                {
                                    name: '资源制作',
                                    path: '/Admin/Production/Course'
                                },
                                {
                                    name: '任务管理',
                                    path: '/Admin/CreativeCourse/ChapterInfo'
                                },
                                {
                                    name: '随堂练习',
                                    path: '/Admin/Step/PracticeItemBank'
                                },
                                {
                                    name: '简答题',
                                }
                            ]
                        }
                    },
                    {
                        path: 'PracticeAddEnclosure',
                        component: () =>
                            import('@/views/Teacher/MyCourses/PracticeAddEnclosure'),
                        name: 'PracticeAddEnclosure',
                        meta: {
                            navActive: '/Admin/Step/PracticeItemBank',
                            title: '随堂练习-附件题',
                            breadcrumb: [
                                {
                                    name: '资源制作',
                                    path: '/Admin/Production/Course'
                                },
                                {
                                    name: '任务管理',
                                    path: '/Admin/CreativeCourse/ChapterInfo'
                                },
                                {
                                    name: '随堂练习',
                                    path: '/Admin/Step/PracticeItemBank'
                                },
                                {
                                    name: '附件题',
                                }
                            ]
                        }
                    },



                ]
            },
            //实验课
            {
                path: 'Experiment',
                component: () =>
                    import('@/views/Teacher/CreativeCourse/CreativeCourseDetailexprientNavLayout'),
                redirect: '/Admin/experiment/experimentFile',
                meta: {
                    navActive: '/Admin/Production/Course',
                    roles: ['INTERNET_ADMIN', 'SUPER_ADMIN']
                },
                children: [
                    {
                        path: 'ExperimentFile',
                        component: () =>
                            import('@/views/Teacher/CreativeCourse/experimentFile'),
                        name: 'experimentFile',
                        meta: {
                            navActive: '/Admin/Experiment/ExperimentFile',
                            title: '任务详情',
                            breadcrumb: [
                                {
                                    name: '资源制作',
                                    path: '/Admin/Production/Course'
                                },
                                {
                                    name: '任务管理',
                                    path: '/Admin/CreativeCourse/ChapterInfo'
                                },
                                {
                                    name: '任务详情'
                                }
                            ]
                        },
                    },
                    {
                        path: 'ExpeimentStudyVideo',
                        component: () =>
                            import('@/views/Teacher/CreativeCourse/ExpeimentStudyVideo'),
                        name: 'ExpeimentStudyVideo',
                        meta: {
                            navActive: '/Admin/Experiment/ExpeimentStudyVideo',
                            title: '实验课学习视频',
                            breadcrumb: [
                                {
                                    name: '资源制作',
                                    path: '/Admin/Production/Course'
                                },
                                {
                                    name: '任务管理',
                                    path: '/Admin/CreativeCourse/ChapterInfo'
                                },
                                {
                                    name: '实验课学习视频'
                                }
                            ]
                        }
                    },
                    {
                        path: 'StudyResourse',
                        component: () =>
                            import('@/views/Teacher/CreativeCourse/StudyResourse'),
                        name: 'StudyResourse',
                        meta: {
                            navActive: '/Admin/Experiment/StudyResourse',
                            title: '学习资源',
                            breadcrumb: [
                                {
                                    name: '资源制作',
                                    path: '/Admin/Production/Course'
                                },
                                {
                                    name: '任务管理',
                                    path: '/Admin/CreativeCourse/ChapterInfo'
                                },
                                {
                                    name: '学习资源'
                                }
                            ]
                        }
                    },
                ]
            },
            //专课版本需求添加
            {
                path: 'Multitasks',
                component: () =>
                    import('@/views/Teacher/CreativeCourse/CreativeCourseMultitaskLayout'),
                redirect: '/Admin/Multitasks/TaskFile',
                meta: {
                    navActive: '/Admin/Production/Course',
                },
                children: [
                    {
                        path: 'TaskFile',
                        component: () =>
                            import('@/views/Teacher/CreativeCourse/TaskFile'),
                        name: 'TaskFile',
                        meta: {
                            navActive: '/Admin/Multitasks/TaskFile',
                            title: '实验任务',
                            breadcrumb: [
                                {
                                    name: '资源制作',
                                    path: '/Admin/Production/Course'
                                },
                                {
                                    name: '任务管理',
                                    path: '/Admin/CreativeCourse/ChapterInfo'
                                },
                                {
                                    name: '任务详情',
                                    path: '/Admin/Theoretical/ExperimentFile'
                                },
                                {
                                    name: '实验任务'
                                }
                            ]
                        }
                    },
                ]
            },
            // 互联网管理员
            {
                path: 'Internet',
                component: () =>
                    import('@/views/InternetAdmin/InternrtMangeLayout'),
                redirect: '/Admin/Internet/TeachMange',
                meta: {
                    roles: ['INTERNET_ADMIN', 'SUPER_ADMIN'],
                    navActive: '/Admin/Internet/TeachMange',
                },
                children: [
                    {
                        path: 'TeachMange',
                        component: () =>
                            import('@/views/InternetAdmin/TeachingMange/InternetTeachMange'),
                        name: 'TeachMange',
                        meta: {
                            navActive: '/Admin/Internet/TeachMange',
                            title: '教师管理'
                        }
                    },
                    {
                        path: 'ManageClass',
                        component: () => import('@/views/InternetAdmin//ManageClassLayout'),
                        redirect: '/Admin/Internet/ManageClass/ClassTeachMange',
                        meta: {
                            navActive: '/Admin/Internet/ManageClass/ClassTeachMange'
                        },
                        children: [
                            {
                                path: 'ClassTeachMange',
                                component: () => import('@/views/InternetAdmin/TeachingMange/ClassTeachMange'),
                                name: 'ClassTeachMange',
                                meta: {
                                    navActive: '/Admin/Internet/ManageClass/ClassTeachMange',
                                    title: '班级管理'
                                }
                            },
                            {
                                path: 'StudentTeachMange',
                                component: () => import('@/views/InternetAdmin/TeachingMange/StudentTeachMange'),
                                name: 'StudentTeachMange',
                                meta: {
                                    navActive: '/Admin/Internet/ManageClass/StudentTeachMange',
                                    title: '选手管理'
                                }
                            },
                        ]
                    },
                    // {
                    //     path: 'ClassTeachMange',
                    //     component: () =>
                    //         import('@/views/InternetAdmin/TeachingMange/ClassTeachMange'),
                    //     name: 'ClassTeachMange',
                    //     meta: {
                    //         navActive: '/Admin/Internet/TeachMange',
                    //         title: '班级管理'
                    //     }
                    // },
                    // {
                    //     path: 'StudentTeachMange',
                    //     component: () =>
                    //         import('@/views/InternetAdmin/TeachingMange/StudentTeachMange'),
                    //     name: 'StudentTeachMange',
                    //     meta: {
                    //         navActive: '/Admin/Internet/TeachMange',
                    //         title: '学生管理'
                    //     }
                    // },
                    {
                        path: 'AccountFlow',
                        component: () =>
                            import('@/views/InternetAdmin/TeachingMange/AccountFlow'),
                        name: 'AccountFlow',
                        meta: {
                            roles: ['INTERNET_ADMIN'],
                            navActive: '/Admin/Internet/AccountFlow',
                            title: '账号流水'
                        }
                    }
                ]
            },

            // 资源制作
            {
                path: 'Production',
                component: () =>
                    import('@/views/administrator/ResourceProductionLayout'),
                meta: {
                    roles: ['INTERNET_ADMIN', 'SUPER_ADMIN'],
                    navActive: '/Admin/Production/Course'
                },
                children: [
                    {
                        path: 'Course',
                        component: () =>
                            import('@/views/administrator/ResourceProduction/ProductionCourse'),
                        name: 'Course',
                        meta: {
                            navActive: '/Admin/Production/Course',
                            title: '资源制作',
                            roles: ['INTERNET_ADMIN', 'SUPER_ADMIN'],
                        },
                    },
                    {
                        path: 'teachercourse',
                        component: () =>
                            import('@/views/administrator/ResourceProduction/ProductionCourse'),
                        name: 'teacherCourse',
                        meta: {
                            navActive: '/Admin/Production/teacherCourse',
                            title: '资源制作',
                            roles: ['INTERNET_ADMIN', 'SUPER_ADMIN'],
                        },
                    },
                    {
                        path: 'ReportTemplate',
                        component: () =>
                            import('@/views/administrator/ResourceProduction/ReportTemplate'),
                        name: 'ReportTemplate',
                        meta: {
                            navActive: '/Admin/Production/ReportTemplate',
                            title: '报告模版'
                        }
                    },
                    {
                        path: 'CreateSkills',
                        component: () =>
                            import('@/views/administrator/ResourceProduction/CreateSkills'),
                        name: 'CreateSkills',
                        meta: {
                            navActive: '/Admin/Production/CreateSkills',
                            title: '技能标签'
                        }
                    },
                    {
                        path: 'IndustryCase',
                        component: () =>
                            import('@/views/administrator/ResourceProduction/IndustryCase'),
                        name: 'IndustryCase',
                        meta: {
                            navActive: '/Admin/Production/IndustryCase',
                            title: '行业案例'
                        }
                    },
                    {
                        path: 'IndustryCaseDetail',
                        component: () =>
                            import('@/views/administrator/ResourceProduction/IndustryCaseDetail'),
                        name: 'IndustryCaseDetail',
                        meta: {
                            navActive: '/Admin/Production/IndustryCase',
                            title: '行业案例详情'
                        }
                    },
                    {
                        path: 'AddIndustryCase',
                        component: () =>
                            import('@/views/administrator/ResourceProduction/addIndustryCase'),
                        name: 'AddIndustryCase',
                        meta: {
                            navActive: '/Admin/Production/IndustryCase',
                            title: '添加行业案例'
                        }
                    },
                    {
                        path: 'JobAdd',
                        component: () => import('@/views/administrator/ResourceProduction/JobAdd'),
                        name: 'JobAdd',
                        meta: {
                            navActive: '/Admin/Production/JobAdd',
                            title: '岗位添加'
                        }
                    },
                    {
                        path: 'Professional',
                        component: () => import('@/views/administrator/ResourceProduction/Professional'),
                        name: 'Professional',
                        meta: {
                            roles: ['INTERNET_ADMIN'],
                            navActive: '/Admin/Production/Professional',
                            title: '专业方向'
                        }
                    }
                ]
            },

            // 管理员用户
            {
                path: 'AdminInfo',
                component: () =>
                    import('@/views/administrator/Admin/AdminInfo'),
                name: 'AdminInfo',
                meta: {
                    roles: ['INTERNET_ADMIN', 'SUPER_ADMIN'],
                    navActive: '/Admin/AdminInfo',
                    title: '管理员用户'
                }
            },
            // 虚机管理
            {
                path: 'VirtualManage',
                component: () =>
                    import('@/views/administrator/VirtualManageLayout'),
                redirect: '/Admin/VirtualManage/VirtualSelectManage/VirtualSelect',
                meta: {
                    navActive: '/Admin/VirtualManage/VirtualSelectManage/VirtualSelect',
                },
                children: [
                    {
                        path: 'VirtualSelectManage',
                        component: () =>
                            import('@/views/administrator/VirtualAdmin/VirtualSelectLayout'),
                        redirect: '/Admin/VirtualManage/VirtualSelectManage/VirtualSelect',
                        children: [
                            {
                                path: 'VirtualSelect',
                                component: () => import('@/views/administrator/VirtualAdmin/VirtualSelect'),
                                name: 'VirtualSelect',
                                meta: {
                                    navActive: '/Admin/VirtualManage/VirtualSelectManage/VirtualSelect',
                                    title: '虚机管理-镜像查询'
                                }
                            },
                            {
                                path: 'VirtualNum',
                                component: () =>
                                    import('@/views/administrator/VirtualAdmin/VirtualNum'),
                                name: 'CourseTemplate',
                                meta: {
                                    navActive: '/Admin/VirtualManage/VirtualSelectManage/VirtualSelect',
                                    title: '虚机管理-虚机运行数量'
                                }
                            }
                        ]
                    },
                    {
                        path: 'MirrorManage',
                        component: () =>
                            import('@/views/administrator/VirtualAdmin/MirrorSelectLayout'),
                        redirect: '/Admin/VirtualManage/MirrorManage/MirrorSelect',
                        children: [{
                            path: 'MirrorSelect',
                            component: () =>
                                import('@/views/administrator/VirtualAdmin/MirrorSelect'),
                            name: 'MirrorSelect',
                            meta: {
                                navActive: '/Admin/VirtualManage/MirrorManage/MirrorSelect',
                                title: '虚机管理-镜像管理-镜像查询'
                            }
                        },
                        {
                            path: 'MirrorNum',
                            component: () =>
                                import('@/views/administrator/VirtualAdmin/MirrorNum'),
                            name: 'CourseTemplate',
                            meta: {
                                navActive: '/Admin/VirtualManage/MirrorManage/MirrorSelect',
                                title: '虚机管理-镜像管理-镜像数量保存'
                            }
                        }
                        ]
                    },
                    {
                        path: 'TrainingEnvironment',
                        component: () =>
                            import('@/views/administrator/VirtualAdmin/TrainingEnvironment'),
                        name: 'TrainingEnvironment',
                        meta: {
                            navActive: '/Admin/VirtualManage/TrainingEnvironment',
                            title: '实训环境'
                        }
                    },
                    {
                        path: 'TrainingEnvironmentEdit',
                        component: () =>
                            import('@/views/administrator/VirtualAdmin/TrainingEnvironmentEdit'),
                        name: 'ATrainingEnvironmentEdit',
                        meta: {
                            navActive: '/Admin/VirtualManage/TrainingEnvironment',
                            title: '实训环境编辑'
                        }
                    }
                ]
            }
        ]
    },
    //靳春野添加，教师端，岗位技能
    // {
    //     path: '/PostSkills',
    //     component: () =>
    //         import('@/views/Teacher/PostSkills/PostSkills'),
    //     name: 'PostSkills',
    //     meta: {
    //         // roles: ['TEACHER', 'MARKET_TEACHER', 'UNIVERSITY_TEACHER'],
    //         title: '教师端-岗位技能'
    //     }
    // },
    //单页11
    // 教师端 考勤详情单页
    {
        path: '/TSAttendanceDetails',
        component: () =>
            import('@/views/Teacher/MyCourses/TSAttendanceDetails'),
        name: 'TSAttendanceDetails',
        meta: {
            roles: ['TEACHER', 'MARKET_TEACHER', 'UNIVERSITY_TEACHER'],
            title: '统计-考勤详情'
        }
    },
    // 教师端 考试详情单页
    {
        path: '/TSExaminationDetails',
        component: () =>
            import('@/views/Teacher/MyCourses/TSExaminationDetails'),
        name: 'TSExaminationDetails',
        meta: {
            roles: ['TEACHER', 'MARKET_TEACHER', 'UNIVERSITY_TEACHER'],
            title: '统计-考试统计'
        }
    },
    // 教师端 理论课和实验课时长详情单页
    {
        path: '/TSDurationDetails',
        component: () =>
            import('@/views/Teacher/MyCourses/TSDurationDetails'),
        name: 'TSDurationDetails',
        meta: {
            roles: ['TEACHER', 'MARKET_TEACHER', 'UNIVERSITY_TEACHER'],
            title: '统计-理论时长和实验时长统计'
        }
    },
    // 教师端 实验判定详情单页
    {
        path: '/TSExperimentalJudgmentDetails',
        component: () =>
            import('@/views/Teacher/MyCourses/TSExperimentalJudgmentDetails'),
        name: 'TSExperimentalJudgmentDetails',
        meta: {
            roles: ['TEACHER', 'MARKET_TEACHER', 'UNIVERSITY_TEACHER'],
            title: '统计-实验判定统计'
        }
    },
    // 教师端 实验报告详情单页
    {
        path: '/TSExperimentalReportDetails',
        component: () =>
            import('@/views/Teacher/MyCourses/TSExperimentalReportDetails'),
        name: 'TSExperimentalReportDetails',
        meta: {
            roles: ['TEACHER', 'MARKET_TEACHER', 'UNIVERSITY_TEACHER'],
            title: '统计-实验报告统计'
        }
    },
    // 教师端 随堂练习提交详情单页
    {
        path: '/TSClassroomPracticeDetails',
        component: () =>
            import('@/views/Teacher/MyCourses/TSClassroomPracticeDetails'),
        name: 'TSClassroomPracticeDetails',
        meta: {
            roles: ['TEACHER', 'MARKET_TEACHER', 'UNIVERSITY_TEACHER'],
            title: '统计-随堂练习提交统计'
        }
    },
    // 教师端 随堂提问详情单页
    {
        path: '/TSClassQuestioningDetails',
        component: () =>
            import('@/views/Teacher/MyCourses/TSClassQuestioningDetails'),
        name: 'TSClassQuestioningDetails',
        meta: {
            roles: ['TEACHER', 'MARKET_TEACHER', 'UNIVERSITY_TEACHER'],
            title: '统计-随堂提问统计'
        }
    },
    // 教师端 问题交流详情单页
    {
        path: '/TSProblemCommunicationDetails',
        component: () =>
            import('@/views/Teacher/MyCourses/TSProblemCommunicationDetails'),
        name: 'TSProblemCommunicationDetails',
        meta: {
            roles: ['TEACHER', 'MARKET_TEACHER', 'UNIVERSITY_TEACHER'],
            title: '统计-问题交流统计'
        }
    },



    // 教师端 考试批阅单页
    {
        path: '/TeacherMarking',
        component: () =>
            import('@/views/Teacher/MyCourses/TeacherMarking'),
        name: 'TeacherMarking',
        meta: {
            roles: ['TEACHER', 'MARKET_TEACHER', 'UNIVERSITY_TEACHER'],
            title: '教师端-考试批阅'
        }
    },
    // 批阅 查看随堂练习单页
    {
        path: '/MarkingPractice',
        component: () =>
            import('@/views/Teacher/MyCourses/MarkingPractice'),
        name: 'MarkingPractice',
        meta: {
            roles: ['TEACHER', 'MARKET_TEACHER', 'UNIVERSITY_TEACHER'],
            title: '批阅-随堂练习'
        }
    },
    // 批阅 查看附件
    {
        path: '/MarkingPracticeWatch7',
        component: () =>
            import('@/views/Teacher/MyCourses/MarkingPracticeWatch7'),
        name: 'MarkingPracticeWatch7',
        meta: {
            roles: ['TEACHER', 'MARKET_TEACHER', 'UNIVERSITY_TEACHER'],
            title: '批阅-随堂练习-查看附件题'
        }
    },
    // 我的课程实验镜像
    {
        path: '/Teaching/MyCourses/VirtualMachine',
        component: () =>
            import('@/views/Teacher/MyCourses/VirtualMachine'),
        name: 'VirtualMachine',
        meta: {
            title: '实验镜像'
        }
    },
    // 我的课程学生端镜像
    {
        path: '/Teaching/MyCourses/STVirtualMachine',
        component: () =>
            import('@/views/Teacher/MyCourses/STVirtualMachine'),
        name: 'STVirtualMachine',
        meta: {
            title: '实验镜像'
        }
    },
    // 分享虚机页面
    {
        path: '/Teaching/MyCourses/ShareVirtualMachine',
        component: () =>
            import('@/views/Teacher/MyCourses/ShareVirtualMachine'),
        name: 'ShareVirtualMachine',
        meta: {
            title: '实验镜像'
        }
    },
    // 创作课程修改实验镜像
    {
        path: '/Teaching/MyCourses/ModifyVirtualMachine',
        component: () => import('@/views/Teacher/MyCourses/ModifyVirtualMachine'),
        name: 'ModifyVirtualMachine',
        meta: {
            title: '实验镜像'
        }
    },
    // 教师环境实训 制作环境实训 编辑实验环境
    {
        path: '/Teaching/TEnvironmentalTraining/TeacherCreateVirtualMachine',
        component: () => import('@/views/Teacher/EnvironmentalTraining/TeacherCreateVirtualMachine'),
        name: 'TeacherCreateVirtualMachine',
        meta: {
            roles: ['TEACHER', 'MARKET_TEACHER', 'UNIVERSITY_TEACHER'],
            title: '实验镜像'
        }
    },
    // 教师环境实训 制作环境实训 编辑实验环境
    {
        path: '/Admin/VirtualManage/AdminTrainingVirtualMachine',
        component: () => import('@/views/administrator/VirtualAdmin/AdminTrainingVirtualMachine'),
        name: 'AdminTrainingVirtualMachine',
        meta: {
            roles: ['ADMIN', 'INTERNET_ADMIN', 'SUPER_ADMIN'],
            title: '实验镜像'
        }
    },
    // 教师环境实训 环境实训列表 编辑实验环境
    {
        path: '/Teaching/TEnvironmentalTraining/TeacherVirtualMachine',
        component: () => import('@/views/Teacher/EnvironmentalTraining/TeacherVirtualMachine'),
        name: 'TeacherVirtualMachine',
        meta: {
            roles: ['TEACHER', 'MARKET_TEACHER', 'UNIVERSITY_TEACHER'],
            title: '实验镜像'
        }
    },
    {
        path: '/Teaching/TEnvironmentalTraining/StudentVirtualMachine',
        component: () => import('@/views/Teacher/EnvironmentalTraining/StudentVirtualMachine'),
        name: 'StudentVirtualMachine',
        meta: {
            roles: ['STUDENT'],
            title: '实验镜像'
        }
    },
    // 考试实验镜像
    {
        path: '/Teaching/MyCourses/ExaminationVirtualMachine',
        component: () =>
            import('@/views/Teacher/MyCourses/ExaminationVirtualMachine'),
        name: 'ExaminationVirtualMachine',
        meta: {
            title: '实验镜像'
        }
    },
    // 未添加班级实验手册
    {
        path: '/Teaching/MyCourses/VirtualMachineManual',
        component: () =>
            import('@/views/Teacher/MyCourses/VirtualMachineManual'),
        name: 'VirtualMachineManual',
        meta: {
            title: '任务详情'
        }
    },

    // 考勤
    {
        path: '/Teaching/MyCourses/StuAttendance',
        component: () =>
            import('@/views/Teacher/MyCourses/StuAttendance'),
        name: 'StuAttendance',
        meta: {
            title: '我的课程-学生考勤'
        }
    },

    {
        path: '/Teaching/MyCourses/CoursewareDetail',
        component: () =>
            import('@/views/Teacher/MyCourses/CoursewareDetail'),
        name: 'CoursewareDetail',
        meta: {
            title: '我的课程详情'
        }
    },
    {
        path: '/Teaching/MyCourses/CourseMaterialDetail',
        component: () =>
            import('@/views/Teacher/MyCourses/CourseMaterialDetail'),
        name: 'CourseMaterialDetail',
        meta: {
            navActive: '/Teaching/MyCourses/CourseDetail',
            title: '我的课程-备课材料'
        }
    },
    {
        path: '/Teaching/MyCourses/CourseResourceDetail',
        component: () =>
            import('@/views/Teacher/MyCourses/CourseResourceDetail'),
        name: 'CourseResourceDetail',
        meta: {
            roles: ['STUDENT', 'TEACHER', 'MARKET_TEACHER', 'UNIVERSITY_TEACHER'],
            navActive: '/Teaching/MyCourses/CourseDetail',
            title: '我的课程-教学资源'
        }
    },
    {
        path: '/Teaching/MyCourses/CourseOutline',
        component: () =>
            import('@/views/Teacher/MyCourses/CourseOutline'),
        name: 'CourseOutline',
        meta: {
            roles: ['TEACHER', 'MARKET_TEACHER', 'UNIVERSITY_TEACHER'],
            navActive: '/Teaching/MyCourses/CourseDetail',
            title: '我的课程-教学大纲'
        }
    },
    //批阅 查看实验报告单页
    {
        path: '/MarkingTest',
        component: () =>
            import('@/views/Teacher/MyCourses/MarkingTest'),
        name: 'MarkingTest',
        meta: {
            roles: ['TEACHER', 'MARKET_TEACHER', 'UNIVERSITY_TEACHER'],
            title: '批阅-实验'
        }
    },
    {
        path: '/ExaminationApproval',
        component: () =>
            import('@/views/Teacher/MyCourses/ExaminationApproval'),
        name: 'ExaminationApproval',
        meta: {
            roles: ['TEACHER', 'MARKET_TEACHER', 'UNIVERSITY_TEACHER'],
            title: '教师端-课程详情页面-详情-考试-审批'
        }
    },
    {
        path: '/PreviewTestPaper',
        component: () =>
            import('@/views/Teacher/MyCourses/PreviewTestPaper'),
        name: 'PreviewTestPaper',
        meta: {
            title: '教师端-我的课程-点击考试-预览试卷',
            roles: ['TEACHER', 'MARKET_TEACHER', 'UNIVERSITY_TEACHER']
        }
    },
    {
        path: '/PreviewTestPaperWatch',
        component: () =>
            import('@/views/Teacher/MyCourses/PreviewTestPaperWatch'),
        name: 'PreviewTestPaperWatch',
        meta: {
            title: '教师端-考试列表-查看试卷',
            roles: ['TEACHER', 'MARKET_TEACHER', 'UNIVERSITY_TEACHER']
        }
    },
    //wty 学生端单页
    {
        path: '/StartExam',
        component: () =>
            import('@/views/Teacher/MyCourses/StartExam'),
        name: '首页-点击考试-开始考试-单选题-答题情况',
        meta: {
            roles: ['STUDENT'],
            title: '首页-点击考试-开始考试-单选题-答题情况'
        }
    },
    {
        path: '/StartExamTest',
        component: () =>
            import('@/views/Teacher/MyCourses/StartExamTest'),
        name: '首页-点击考试-开始考试-单选题-答题情况',
        meta: {
            roles: ['STUDENT'],
            title: '首页-点击考试-开始考试-实验题'
        }
    },
    //wty
    //教师端单页 -> 我的课程 详情 随堂练习
    {
        path: '/Teaching/MyCourses/TPractice',
        component: () =>
            import('@/views/Teacher/MyCourses/TPractice'),
        name: 'TPractice',
        meta: {
            roles: ['TEACHER', 'MARKET_TEACHER', 'UNIVERSITY_TEACHER'],
            title: '首页-我的课程-详情-随堂练习'
        }
    },
    //随堂练习统计
    {
        path: '/Teaching/MyCourses/StatisticsClassExercises',
        component: () =>
            import('@/views/Teacher/MyCourses/StatisticsClassExercises'),
        name: 'StatisticsClassExercises',
        meta: {
            roles: ['TEACHER', 'MARKET_TEACHER', 'UNIVERSITY_TEACHER'],
            title: '首页-我的课程-详情-随堂练习统计'
        }
    },
    //实验统计
    {
        path: '/Teaching/MyCourses/StatisticsExperiment',
        component: () =>
            import('@/views/Teacher/MyCourses/StatisticsExperiment'),
        name: 'StatisticsExperiment',
        meta: {
            // roles: ['TEACHER', 'MARKET_TEACHER', 'UNIVERSITY_TEACHER'],
            title: '首页-我的课程-详情-章节统计'
        }
    },
    //学生端单页 -> 我的课程 详情 随堂练习
    {
        path: '/Teaching/MyCourses/SPractice',
        component: () =>
            import('@/views/Student/MyCourses/SPractice'),
        name: 'SPractice',
        meta: {
            roles: ['STUDENT'],
            title: '首页-我的课程-详情-随堂练习'
        }
    },
    //学生端单页 -> 我的课程 详情 随堂练习查看
    {
        path: '/SPracticeWatch',
        component: () =>
            import('@/views/Student/MyCourses/SPracticeWatch'),
        name: 'SPracticeWatch',
        meta: {
            roles: ['STUDENT'],
            title: '首页-我的课程-详情-随堂练习查看'
        }
    },
    {
        path: '/SPracticeWrong',
        component: () =>
            import('@/views/Student/MyCourses/SPracticeWrong'),
        name: 'SPracticeWrong',
        meta: {
            roles: ['STUDENT'],
            title: '我的课程-详情-重新答题'
        }
    },
    //wty end
    // 教师端 学生端页面
    {
        path: '/Teaching',
        component: () =>
            import('@/views/Teacher/Layout'),
        // redirect: '/Teaching/index',
        meta: {
            // navActive: '/Teaching/index',
            roles: ['STUDENT', 'TEACHER', 'MARKET_TEACHER', 'UNIVERSITY_TEACHER'],
            title: '首页'
        },
        children: [
            {
                path: 'AddClass',
                component: () =>
                    import('@/views/Teacher/IndexView/AddClass'),
                name: 'AddClass',
                meta: {
                    navActive: '/Teaching/index',
                    roles: ['TEACHER', 'MARKET_TEACHER', 'UNIVERSITY_TEACHER'],
                    title: '添加班级',
                    breadcrumb: [
                        {
                            name: '我的教学',
                            path: '/Teaching/index'
                        },
                        {
                            name: '详情',
                            path: '/Teaching/MyCourses/CourseDetail'
                        },
                        {
                            name: '添加班级'
                        }
                    ]
                },
            },
            {
                path: 'AssociationClass',
                component: () =>
                    import('@/views/Teacher/IndexView/AssociationClass'),
                name: 'AssociationClass',
                meta: {
                    navActive: '/Teaching/index',
                    roles: ['TEACHER', 'MARKET_TEACHER', 'UNIVERSITY_TEACHER'],
                    title: '添加班级',
                    breadcrumb: [
                        {
                            name: '我的教学',
                            path: '/Teaching/index'
                        },
                        {
                            name: '详情',
                            path: '/Teaching/MyCourses/CourseDetail'
                        },
                        {
                            name: '添加班级'
                        }
                    ]
                },
            },
            //yx 管理员
            {
                path: 'CasePresentation',
                component: () =>
                    import('@/views/Teacher/CasePresentation'),
                name: 'CasePresentation',
                meta: {
                    navActive: '/Teaching/index',
                    title: '行业案例展示',
                    roles: ['TEACHER', 'STUDENT', 'UNIVERSITY_TEACHER', 'MARKET_TEACHER'],
                    breadcrumb: [
                        {
                            name: '我的教学',
                            path: '/Teaching/index'
                        },
                        {
                            name: '大数据行业案例库'
                        }
                    ]
                }
            },
            //yx修改
            {
                path: '/Teaching/MyCourses/SkillLibrary',
                component: () =>
                    import('@/views/Teacher/IndexView/SkillLibrary'),
                name: 'SkillLibrary',
                meta: {
                    navActive: '/Teaching/index',
                    roles: ['STUDENT', 'TEACHER', 'MARKET_TEACHER', 'UNIVERSITY_TEACHER'],
                    title: '技能库',
                    breadcrumb: [
                        {
                            name: '我的教学',
                            path: '/Teaching/index'
                        },
                        {
                            name: '大数据技术库'
                        }
                    ]
                }

            },
            {
                path: 'CasePresentationDetail',
                component: () =>
                    import('@/views/Teacher/CasePresentationDetail'),
                name: 'CasePresentationDetail',
                meta: {
                    navActive: '/Teaching/index',
                    title: '行业案例展示详情',
                    roles: ['TEACHER', 'STUDENT', 'UNIVERSITY_TEACHER', 'MARKET_TEACHER'],
                }
            },
            //yx添加岗位
            {
                path: 'PostSkills',
                component: () => import('@/views/Teacher/PostSkills/PostSkills'),
                name: 'PostSkills',
                meta: {
                    // roles: ['TEACHER', 'MARKET_TEACHER', 'UNIVERSITY_TEACHER'],
                    navActive: '/Teaching/index',
                    title: '教师端-岗位技能'
                }
            },
            {
                path: 'SkillModify',
                component: () =>
                    import('@/views/Teacher/MyCourses/SkillModify'),
                name: 'SkillModify',
                meta: {
                    navActive: '/Teaching/index',
                    title: '技能修改'
                }
            },
            //yx结束
            // 我的课程 wty
            {
                path: 'MyCourses',
                // 我的课程-下级导航
                component: () =>
                    import('@/views/Teacher/CoursesLayout'),
                // redirect: '/Teaching/MyCourses/CourseDetail',
                meta: {
                    navActive: '/Teaching/index',
                    title: '我的教学'
                },
                // 我的课程-子路由页面
                children: [
                    {
                        path: 'CourseDetail',
                        component: () => import('@/views/Teacher/MyCourses/CourseDetail'),
                        name: 'CourseDetail',
                        meta: {
                            navActive: '/Teaching/MyCourses/CourseDetail',
                            title: '我的课程',
                            breadcrumb: [
                                {
                                    name: '我的教学',
                                    path: '/Teaching/index'
                                },
                                {
                                    name: '详情'
                                }
                            ]
                        }
                    },
                    //成绩
                    {
                        path: 'Score',
                        component: () =>
                            import('@/views/Student/MyCourses/Score'),
                        name: 'Score',
                        meta: {
                            title: '学生-成绩',
                            navActive: '/Teaching/MyCourses/Score',
                            roles: ['STUDENT'],
                            breadcrumb: [
                                {
                                    name: '我的教学',
                                    path: '/Teaching/index'
                                },
                                {
                                    name: '成绩'
                                }
                            ]
                        }
                    },
                    //学生交流
                    {
                        path: 'Swap',
                        component: () =>
                            import('@/views/Teacher/CommitLayout'),
                        redirect: '/Teaching/MyCourses/Swap/Answer/SAnswerList',
                        meta: {
                            navActive: '/Teaching/MyCourses/Swap/Answer/SAnswerList',
                            roles: ['STUDENT'],

                        },
                        children: [
                            {
                                path: 'Answer',
                                component: () =>
                                    import('@/views/Teacher/MyCourses/layout/AnswerLayout'),
                                redirect: '/Teaching/MyCourses/Swap/Answer/SAnswerList',
                                meta: {
                                    navActive: '/Teaching/MyCourses/Swap/Answer/SAnswerList'
                                },
                                children: [
                                    {
                                        path: 'SAnswerList',
                                        component: () =>
                                            import('@/views/Student/MyCourses/SAnswerList'),
                                        name: 'SAnswerList',
                                        meta: {
                                            navActive: '/Teaching/MyCourses/Swap/Answer/SAnswerList',
                                            breadcrumb: [
                                                {
                                                    name: '我的学习',
                                                    path: '/Teaching/index'
                                                },
                                                {
                                                    name: '问题列表'
                                                }
                                            ]
                                        },
                                    },
                                    {
                                        path: 'DetailList',
                                        component: () =>
                                            import('@/views/Student/MyCourses/SAnswerListDetail'),
                                        name: 'DetailList',
                                        meta: {
                                            title: '交流问题详情',
                                            navActive: '/Teaching/MyCourses/Swap/Answer/SAnswerList',
                                            breadcrumb: [
                                                {
                                                    name: '我的学习',
                                                    path: '/Teaching/index'
                                                },
                                                {
                                                    name: '问题列表',
                                                    path: '/Teaching/MyCourses/Swap/Answer/SAnswerList'
                                                },
                                                {
                                                    name: '问题详情'
                                                }
                                            ]
                                        }
                                    }
                                ]
                            },
                            {
                                path: 'SMyAnswer',
                                component: () =>
                                    import('@/views/Teacher/MyCourses/layout/AnswerLayout'),
                                redirect: '/Teaching/MyCourses/Swap/SMyAnswer/SMyAnswer',
                                meta: {
                                    navActive: '/Teaching/MyCourses/Swap/Answer/SAnswerList'
                                },
                                children: [
                                    {
                                        path: 'SMyAnswer',
                                        component: () =>
                                            import('@/views/Student/MyCourses/SMyAnswer'),
                                        meta: {
                                            navActive: '/Teaching/MyCourses/Swap/SMyAnswer/SMyAnswer',
                                            title: '我的回答',
                                            breadcrumb: [
                                                {
                                                    name: '我的学习',
                                                    path: '/Teaching/index'
                                                },
                                                {
                                                    name: '我的回答'
                                                }
                                            ]
                                        },
                                    },
                                    {
                                        path: 'SMyAnswerDetail',
                                        component: () =>
                                            import('@/views/Student/MyCourses/SMyAnswerDetail'),
                                        name: 'SMyAnswerDetail',
                                        meta: {
                                            title: '回答详情',
                                            navActive: '/Teaching/MyCourses/Swap/SMyAnswer/SMyAnswer',
                                            breadcrumb: [
                                                {
                                                    name: '我的学习',
                                                    path: '/Teaching/index'
                                                },
                                                {
                                                    name: '我的回答',
                                                    path: '/Teaching/MyCourses/Swap/SMyAnswer/SMyAnswer'
                                                },
                                                {
                                                    name: '回答详情'
                                                }
                                            ]
                                        }
                                    }
                                ]
                            },
                            {
                                path: 'SMyQuestion',
                                component: () =>
                                    import('@/views/Teacher/MyCourses/layout/AnswerLayout'),
                                redirect: '/Teaching/MyCourses/Swap/SMyQuestion/SMyQuestion',
                                meta: {
                                    navActive: '/Teaching/MyCourses/Swap/Answer/SAnswerList'
                                },
                                children: [
                                    {
                                        path: 'SMyQuestion',
                                        component: () =>
                                            import('@/views/Student/MyCourses/SMyQuestion'),
                                        name: 'SMyQuestion',
                                        meta: {
                                            title: '我的问题',
                                            navActive: '/Teaching/MyCourses/Swap/SMyQuestion/SMyQuestion',
                                            breadcrumb: [
                                                {
                                                    name: '我的学习',
                                                    path: '/Teaching/index'
                                                },
                                                {
                                                    name: '我的问题'
                                                }
                                            ]
                                        }
                                    },
                                    {
                                        path: 'SMyQuestionDetail',
                                        component: () =>
                                            import('@/views/Student/MyCourses/SMyQuestionDetail'),
                                        name: 'SMyQuestionDetail',
                                        meta: {
                                            title: '我的问题',
                                            navActive: '/Teaching/MyCourses/Swap/SMyQuestion/SMyQuestion',
                                            breadcrumb: [
                                                {
                                                    name: '我的学习',
                                                    path: '/Teaching/index'
                                                },
                                                {
                                                    name: '我的问题',
                                                    path: '/Teaching/MyCourses/Swap/SMyQuestion/SMyQuestion'
                                                },
                                                {
                                                    name: '问题详情'
                                                }
                                            ]
                                        }
                                    },
                                ]
                            }
                        ]
                    },
                    //批阅
                    {
                        path: 'Marking',
                        component: () =>
                            import('@/views/Teacher/MyCourses/Marking'),
                        name: 'Marking',
                        meta: {
                            navActive: '/Teaching/MyCourses/marking',
                            title: '首页-我的课程-点击批阅',
                            breadcrumb: [
                                {
                                    name: '我的教学',
                                    path: '/Teaching/index'
                                },
                                {
                                    name: '批阅'
                                }
                            ]
                        }
                    },
                    {
                        path: 'StudentsSubmitDetailsList',
                        component: () =>
                            import('@/views/Teacher/MyCourses/StudentsSubmitDetailsList'),
                        name: 'StudentsSubmitDetailsList',
                        meta: {
                            navActive: '/Teaching/MyCourses/marking',
                            title: '首页-我的课程-点击批阅-学生提交详情-列表-实验',
                            breadcrumb: [
                                {
                                    name: '我的教学',
                                    path: '/Teaching/index'
                                },
                                {
                                    name: '批阅',
                                    path: '/Teaching/MyCourses/marking'
                                },
                                {
                                    name: '学生提交详情'
                                }
                            ]
                        }
                    },
                    {
                        path: 'StudentsSubmitDetailsListTest',
                        component: () =>
                            import('@/views/Teacher/MyCourses/StudentsSubmitDetailsListTest'),
                        name: 'StudentsSubmitDetailsListTest',
                        meta: {
                            navActive: '/Teaching/MyCourses/marking',
                            title: '首页-我的课程-点击批阅-学生提交详情-列表-随堂练习',
                            breadcrumb: [
                                {
                                    name: '我的教学',
                                    path: '/Teaching/index'
                                },
                                {
                                    name: '批阅',
                                    path: '/Teaching/MyCourses/marking'
                                },
                                {
                                    name: '学生提交详情'
                                }
                            ]
                        }
                    },
                    // 考试
                    {
                        path: 'Examination',
                        component: () =>
                            import('@/views/Teacher/ExaminationLayout'),
                        // redirect: '/Teaching/MyCourses/Examination/TestPaper/ExaminationList',
                        children: [
                            // 试卷
                            {
                                path: 'TestPaper',
                                component: () =>
                                    import('@/views/Teacher/TestPaperLayout'),
                                redirect: '/Teaching/MyCourses/Examination/TestPaper/ExaminationList',
                                meta: {
                                    navActive: '/Teaching/MyCourses/Examination/TestPaper/ExaminationList'
                                },
                                children: [
                                    {
                                        path: 'ExaminationList',
                                        component: () =>
                                            import('@/views/Teacher/MyCourses/ExaminationList'),
                                        name: 'ExaminationList',
                                        meta: {
                                            navActive: '/Teaching/MyCourses/Examination/TestPaper/ExaminationList',
                                            title: '我的课程-考试列表',
                                            breadcrumb: [
                                                {
                                                    name: '我的教学',
                                                    path: '/Teaching/index'
                                                },
                                                {
                                                    name: '考试'
                                                }
                                            ]
                                        }
                                    },
                                    {
                                        path: 'TopicModel',
                                        component: () =>
                                            import('@/views/Teacher/MyCourses/TopicModel'),
                                        name: 'TopicModel',
                                        meta: {
                                            navActive: '/Teaching/MyCourses/Examination/TestPaper/ExaminationList',
                                            title: '我的课程-考试-试卷-选题模式',
                                            breadcrumb: [
                                                {
                                                    name: '我的教学',
                                                    path: '/Teaching/index'
                                                },
                                                {
                                                    name: '考试',
                                                    path: '/Teaching/MyCourses/Examination/TestPaper/ExaminationList'
                                                },
                                                {
                                                    name: '生成试卷'
                                                }
                                            ]
                                        }
                                    },
                                    {
                                        path: 'AutoSelectTemplate',
                                        component: () =>
                                            import('@/views/Teacher/MyCourses/AutoSelectTemplate'),
                                        name: 'AutoSelectTemplate',
                                        meta: {
                                            navActive: '/Teaching/MyCourses/Examination/TestPaper/ExaminationList',
                                            title: '我的课程-考试-试卷-自动模式',
                                            breadcrumb: [
                                                {
                                                    name: '我的教学',
                                                    path: '/Teaching/index'
                                                },
                                                {
                                                    name: '考试',
                                                    path: '/Teaching/MyCourses/Examination/TestPaper/ExaminationList'
                                                },
                                                {
                                                    name: '生成试卷',
                                                    path: '/Teaching/MyCourses/Examination/TestPaper/TopicModel'
                                                },
                                                {
                                                    name: '自动模式'
                                                }
                                            ]
                                        }
                                    },
                                    {
                                        path: 'AfterSelectTemplate',
                                        component: () =>
                                            import('@/views/Teacher/MyCourses/AfterSelectTemplate'),
                                        name: 'AfterSelectTemplate',
                                        meta: {
                                            navActive: '/Teaching/MyCourses/Examination/TestPaper/ExaminationList',
                                            title: '我的课程-考试-试卷-选题模式-手动选题',
                                            breadcrumb: [
                                                {
                                                    name: '我的教学',
                                                    path: '/Teaching/index'
                                                },
                                                {
                                                    name: '考试',
                                                    path: '/Teaching/MyCourses/Examination/TestPaper/ExaminationList'
                                                },
                                                {
                                                    name: '生成试卷',
                                                    path: '/Teaching/MyCourses/Examination/TestPaper/TopicModel'
                                                },
                                                {
                                                    name: '手动模式'
                                                }
                                            ]
                                        }
                                    },
                                    {
                                        path: 'SelectTemplate',
                                        component: () =>
                                            import('@/views/Teacher/MyCourses/SelectTemplate'),
                                        name: 'SelectTemplate',
                                        meta: {
                                            navActive: '/Teaching/MyCourses/Examination/TestPaper/ExaminationList',
                                            title: '我的课程-考试-试卷-手动模式',
                                            breadcrumb: [
                                                {
                                                    name: '我的教学',
                                                    path: '/Teaching/index'
                                                },
                                                {
                                                    name: '考试',
                                                    path: '/Teaching/MyCourses/Examination/TestPaper/ExaminationList'
                                                },
                                                {
                                                    name: '生成试卷',
                                                    path: '/Teaching/MyCourses/Examination/TestPaper/TopicModel'
                                                },
                                                {
                                                    name: '手动模式',
                                                    path: '/Teaching/MyCourses/Examination/TestPaper/AfterSelectTemplate'
                                                },
                                                {
                                                    name: '试题模板'
                                                }
                                            ]
                                        }
                                    },
                                    {
                                        path: 'TeacherMarkingList',
                                        component: () =>
                                            import('@/views/Teacher/MyCourses/TeacherMarkingList'),
                                        name: 'TeacherMarkingList',
                                        meta: {
                                            navActive: '/Teaching/MyCourses/Examination/TestPaper/ExaminationList',
                                            title: '我的课程-考试列表-试题审批列表',
                                            breadcrumb: [
                                                {
                                                    name: '我的教学',
                                                    path: '/Teaching/index'
                                                },
                                                {
                                                    name: '考试',
                                                    path: '/Teaching/MyCourses/Examination/TestPaper/ExaminationList'
                                                },
                                                {
                                                    name: '试题审批列表'
                                                }
                                            ]
                                        }
                                    },
                                    {
                                        path: 'AfterSelectTemplateChapter',
                                        component: () =>
                                            import('@/views/Teacher/MyCourses/AfterSelectTemplateChapter'),
                                        name: 'AfterSelectTemplateChapter',
                                        meta: {
                                            navActive: '/Teaching/MyCourses/Examination/TestPaper/ExaminationList',
                                            title: '我的课程-考试-试卷-选题模式-带章节选题',
                                            breadcrumb: [
                                                {
                                                    name: '我的教学',
                                                    path: '/Teaching/index'
                                                },
                                                {
                                                    name: '考试',
                                                    path: '/Teaching/MyCourses/Examination/TestPaper/ExaminationList'
                                                },
                                                {
                                                    name: '生成试卷',
                                                    path: '/Teaching/MyCourses/Examination/TestPaper/TopicModel'
                                                },
                                                {
                                                    name: '模板模式'
                                                }
                                            ]
                                        }
                                    },
                                    {
                                        path: 'AfterSelectTemplateNoChapter',
                                        component: () =>
                                            import('@/views/Teacher/MyCourses/AfterSelectTemplateNoChapter'),
                                        name: 'AfterSelectTemplateNoChapter',
                                        meta: {
                                            navActive: '/Teaching/MyCourses/Examination/TestPaper/ExaminationList',
                                            title: '我的课程-考试-试卷-选题模式-无章节选题',
                                            breadcrumb: [
                                                {
                                                    name: '我的教学',
                                                    path: '/Teaching/index'
                                                },
                                                {
                                                    name: '考试',
                                                    path: '/Teaching/MyCourses/Examination/TestPaper/ExaminationList'
                                                },
                                                {
                                                    name: '生成试卷',
                                                    path: '/Teaching/MyCourses/Examination/TestPaper/TopicModel'
                                                },
                                                {
                                                    name: '模板模式'
                                                }
                                            ]
                                        }
                                    },
                                    {
                                        path: 'ApprovalTest',
                                        component: () =>
                                            import('@/views/Teacher/MyCourses/ApprovalTest'),
                                        name: 'ApprovalTest',
                                        meta: {
                                            navActive: '/Teaching/MyCourses/Examination/TestPaper/ExaminationList',
                                            title: '我的课程-考试列表-试题审批、答题历史'
                                        }
                                    }
                                ]
                            },
                            // 题库
                            {
                                path: 'ItemBank',
                                component: () =>
                                    import('@/views/Teacher/ItemBankLayout'),
                                redirect: '/Teaching/MyCourses/Examination/ItemBank/ItemBankList',
                                meta: {
                                    navActive: '/Teaching/MyCourses/Examination/TestPaper/ExaminationList'
                                },
                                children: [
                                    {
                                        path: 'ItemBankList',
                                        component: () =>
                                            import('@/views/Teacher/MyCourses/ItemBank'),
                                        name: 'ItemBankListExamination',
                                        // redirect: '/Teaching/MyCourses/Examination/ItemBank/ItemBankList',
                                        meta: {
                                            navActive: '/Teaching/MyCourses/Examination/ItemBank/ItemBankList',
                                            title: '我的课程-课程详情页面-题库',
                                            breadcrumb: [
                                                {
                                                    name: '我的教学',
                                                    path: '/Teaching/index'
                                                },
                                                {
                                                    name: '题库'
                                                }
                                            ]
                                        }
                                    },
                                    // 添加试题
                                    {
                                        path: 'AddChoiceQuestion',
                                        component: () =>
                                            import('@/views/Teacher/MyCourses/AddChoiceQuestion'),
                                        name: 'AddChoiceQuestion',
                                        meta: {
                                            navActive: '/Teaching/MyCourses/Examination/ItemBank/ItemBankList',
                                            title: '我的课程-考试-题库-添加试题-选择题',
                                            breadcrumb: [
                                                {
                                                    name: '我的教学',
                                                    path: '/Teaching/index'
                                                },
                                                {
                                                    name: '题库',
                                                    path: '/Teaching/MyCourses/Examination/ItemBank/ItemBankList'
                                                },
                                                {
                                                    name: '选择题'
                                                }
                                            ]
                                        }
                                    },
                                    {
                                        path: 'AddJudge',
                                        component: () =>
                                            import('@/views/Teacher/MyCourses/AddJudge'),
                                        name: 'AddJudge',
                                        meta: {
                                            navActive: '/Teaching/MyCourses/Examination/ItemBank/ItemBankList',
                                            title: '我的课程-考试-题库-添加试题-判断题',
                                            breadcrumb: [
                                                {
                                                    name: '我的教学',
                                                    path: '/Teaching/index'
                                                },
                                                {
                                                    name: '题库',
                                                    path: '/Teaching/MyCourses/Examination/ItemBank/ItemBankList'
                                                },
                                                {
                                                    name: '判断题'
                                                }
                                            ]
                                        }
                                    },
                                    {
                                        path: 'AddFillInTheBlanks',
                                        component: () =>
                                            import('@/views/Teacher/MyCourses/AddFillInTheBlanks'),
                                        name: 'AddFillInTheBlanks',
                                        meta: {
                                            navActive: '/Teaching/MyCourses/Examination/ItemBank/ItemBankList',
                                            title: '我的课程-考试-题库-添加试题-填空题',
                                            breadcrumb: [
                                                {
                                                    name: '我的教学',
                                                    path: '/Teaching/index'
                                                },
                                                {
                                                    name: '题库',
                                                    path: '/Teaching/MyCourses/Examination/ItemBank/ItemBankList'
                                                },
                                                {
                                                    name: '填空题'
                                                }
                                            ]
                                        }
                                    },
                                    {
                                        path: 'AddShortAnswerQuestions',
                                        component: () =>
                                            import('@/views/Teacher/MyCourses/AddShortAnswerQuestions'),
                                        name: 'AddShortAnswerQuestions',
                                        meta: {
                                            navActive: '/Teaching/MyCourses/Examination/ItemBank/ItemBankList',
                                            title: '我的课程-考试-题库-添加试题-简答题',
                                            breadcrumb: [
                                                {
                                                    name: '我的教学',
                                                    path: '/Teaching/index'
                                                },
                                                {
                                                    name: '题库',
                                                    path: '/Teaching/MyCourses/Examination/ItemBank/ItemBankList'
                                                },
                                                {
                                                    name: '简答题'
                                                }
                                            ]
                                        }
                                    },
                                    {
                                        path: 'AddExperimental',
                                        component: () =>
                                            import('@/views/Teacher/MyCourses/AddExperimental'),
                                        name: 'AddExperimental',
                                        meta: {
                                            navActive: '/Teaching/MyCourses/Examination/ItemBank/ItemBankList',
                                            title: '我的课程-考试-题库-添加试题-实验题',
                                            breadcrumb: [
                                                {
                                                    name: '我的教学',
                                                    path: '/Teaching/index'
                                                },
                                                {
                                                    name: '题库',
                                                    path: '/Teaching/MyCourses/Examination/ItemBank/ItemBankList'
                                                },
                                                {
                                                    name: '实验题'
                                                }
                                            ]
                                        }
                                    },
                                    {
                                        path: 'ExcelImport',
                                        component: () =>
                                            import('@/views/Teacher/MyCourses/ExcelImport'),
                                        name: 'ExcelImport',
                                        meta: {
                                            navActive: '/Teaching/MyCourses/Examination/ItemBank/ItemBankList',
                                            title: '我的课程-考试-题库-Excel导入',
                                            breadcrumb: [
                                                {
                                                    name: '我的教学',
                                                    path: '/Teaching/index'
                                                },
                                                {
                                                    name: '题库',
                                                    path: '/Teaching/MyCourses/Examination/ItemBank/ItemBankList'
                                                },
                                                {
                                                    name: 'Excel导入'
                                                }
                                            ]
                                        }
                                    },
                                    {
                                        path: 'ItemBankImport',
                                        component: () =>
                                            import('@/views/Teacher/MyCourses/ItemBankImport'),
                                        name: 'ItemBankImport',
                                        meta: {
                                            navActive: '/Teaching/MyCourses/Examination/ItemBank/ItemBankList',
                                            title: '我的课程-考试-题库-题库导入',
                                            breadcrumb: [
                                                {
                                                    name: '我的教学',
                                                    path: '/Teaching/index'
                                                },
                                                {
                                                    name: '题库',
                                                    path: '/Teaching/MyCourses/Examination/ItemBank/ItemBankList'
                                                },
                                                {
                                                    name: '题库导入'
                                                }
                                            ]
                                        }
                                    },
                                ]
                            },
                            {
                                path: 'StudentExamList',
                                component: () =>
                                    import('@/views/Teacher/MyCourses/StudentExamList'),
                                name: 'StudentExamList',
                                meta: {
                                    navActive: '/Teaching/MyCourses/Examination/StudentExamList',
                                    title: '首页-我的课程-考试-课程详情页面-成绩',
                                    breadcrumb: [
                                        {
                                            name: '我的教学',
                                            path: '/Teaching/index'
                                        },
                                        {
                                            name: '考试'
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    //yx 课程统计
                    {
                        path: 'Statistics',
                        component: () =>
                            import('@/views/Teacher/StatisticsLayout'),
                        redirect: '/Teaching/MyCourses/Statistics/TeachStatistics',
                        meta: {
                            navActive: '/Teaching/MyCourses/Statistics/Teach/TeachStatistics'
                        },
                        children: [
                            //此是2期功能
                            // {
                            //     path: 'TStatistics',
                            //     component: () =>
                            //         import('@/views/Teacher/MyCourses/TStatistics'),
                            //     name: 'TStatistics',
                            //     meta: {
                            //         title: '我的课程-统计-教学统计'
                            //     }
                            // },
                            {
                                path: 'Teach',
                                component: () =>
                                    import('@/views/Teacher/MyCourses/layout/StatisticssLayout'),
                                redirect: '/Teaching/MyCourses/Statistics/Teach/TeachStatistics',
                                meta: {
                                    navActive: '/Teaching/MyCourses/Statistics/Teach/TeachStatistics'
                                },
                                //统计全改 王天宇20200924
                                children: [
                                    {
                                        path: 'TeachStatistics',
                                        component: () =>
                                            import('@/views/Teacher/MyCourses/TeachStatistics'),
                                        name: 'TeachStatistics',
                                        meta: {
                                            title: '我的课程-统计-教学统计',
                                            navActive: '/Teaching/MyCourses/Statistics/Teach/TeachStatistics',
                                            breadcrumb: [
                                                {
                                                    name: '我的教学',
                                                    path: '/Teaching/index'
                                                },
                                                {
                                                    name: '统计'
                                                }
                                            ]
                                        }
                                    },
                                    {
                                        path: 'StudentFilesList',
                                        component: () =>
                                            import('@/views/Teacher/MyCourses/StudentFilesList'),
                                        name: 'StudentFilesList',
                                        meta: {
                                            title: '我的课程-统计-学生档案列表',
                                            navActive: '/Teaching/MyCourses/Statistics/Teach/StudentFilesList',
                                            breadcrumb: [
                                                {
                                                    name: '我的教学',
                                                    path: '/Teaching/index'
                                                },
                                                {
                                                    name: '统计'
                                                }
                                            ]
                                        }
                                    },
                                    {
                                        path: 'StudentFiles',
                                        component: () =>
                                            import('@/views/Teacher/MyCourses/StudentFiles'),
                                        name: 'StudentFiles',
                                        meta: {
                                            title: '我的课程-统计-学生档案',
                                            navActive: '/Teaching/MyCourses/Statistics/Teach/StudentFilesList',
                                            breadcrumb: [
                                                {
                                                    name: '我的教学',
                                                    path: '/Teaching/index'
                                                },
                                                {
                                                    name: '统计'
                                                }
                                            ]
                                        }
                                    },
                                    {
                                        path: 'CourseReach',
                                        component: () =>
                                            import('@/views/Teacher/MyCourses/statistics/CourseReach'),
                                        name: 'CourseReach',
                                        meta: {
                                            title: '我的课程-统计-课程达成度',
                                            navActive: '/Teaching/MyCourses/Statistics/Teach/CourseReach',
                                            breadcrumb: [
                                                {
                                                    name: '我的教学',
                                                    path: '/Teaching/index'
                                                },
                                                {
                                                    name: '统计'
                                                }
                                            ]
                                        }
                                    },
                                    {
                                        path: 'CourseReachInfo/:id',
                                        component: () =>
                                            import('@/views/Teacher/MyCourses/statistics/CourseReachInfo'),
                                        name: 'CourseReachInfo',
                                        meta: {
                                            title: '我的课程-统计-课程达成度详情',
                                            navActive: '/Teaching/MyCourses/Statistics/Teach/CourseReach',
                                            breadcrumb: [
                                                {
                                                    name: '我的教学',
                                                    path: '/Teaching/index'
                                                },
                                                {
                                                    name: '统计'
                                                }
                                            ]
                                        }
                                    },
                                    {
                                        path: 'StudentList',
                                        component: () =>
                                            import('@/views/Teacher/MyCourses/statistics/studentsList'),
                                        name: 'StudentList',
                                        meta: {
                                            title: '我的课程-统计-学生人数',
                                            navActive: '/Teaching/MyCourses/Statistics/Teach/CourseReach',
                                            breadcrumb: [
                                                {
                                                    name: '我的教学',
                                                    path: '/Teaching/index'
                                                },
                                                {
                                                    name: '统计'
                                                }
                                            ]
                                        }
                                    },
                                    {
                                        path: 'ReachDegree',
                                        component: () =>
                                            import('@/views/Teacher/MyCourses/statistics/component/reachTable/reachDegree'),
                                        name: 'ReachDegree',
                                        meta: {
                                            title: '我的课程-统计-达成度设置',
                                            navActive: '/Teaching/MyCourses/Statistics/Teach/CourseReach',
                                            breadcrumb: [
                                                {
                                                    name: '我的教学',
                                                    path: '/Teaching/index'
                                                },
                                                {
                                                    name: '统计'
                                                }
                                            ]
                                        }
                                    },
                                    {
                                        path: 'SetReach',
                                        component: () =>
                                            import('@/views/Teacher/MyCourses/statistics/component/reachTable/setReach'),
                                        name: 'SetReach',
                                        meta: {
                                            title: '我的课程-统计-添加考核项',
                                            navActive: '/Teaching/MyCourses/Statistics/Teach/CourseReach',
                                            breadcrumb: [
                                                {
                                                    name: '我的教学',
                                                    path: '/Teaching/index'
                                                },
                                                {
                                                    name: '统计'
                                                }
                                            ]
                                        }
                                    },
                                    // {
                                    //     path: 'AttenceStatistics',
                                    //     component: () =>
                                    //         import ('@/views/Teacher/MyCourses/AttenceStatistics'),
                                    //     name: 'AttenceStatistics',
                                    //     meta: {
                                    //         title: '我的课程-统计-考勤统计',
                                    //         navActive: '/Teaching/MyCourses/Statistics/Teach/AttenceStatistics',
                                    //         breadcrumb: [
                                    //             {
                                    //                 name: '我的教学',
                                    //                 path: '/Teaching/index'
                                    //             },
                                    //             {
                                    //                 name: '统计'
                                    //             }
                                    //         ]
                                    //     }
                                    // },
                                    {
                                        path: 'ScoreStatistics',
                                        component: () =>
                                            import('@/views/Teacher/MyCourses/ScoreStatistics'),
                                        name: 'ScoreStatistics',
                                        meta: {
                                            title: '我的课程-统计-成绩统计',
                                            navActive: '/Teaching/MyCourses/Statistics/Teach/ScoreStatistics',
                                            breadcrumb: [
                                                {
                                                    name: '我的教学',
                                                    path: '/Teaching/index'
                                                },
                                                {
                                                    name: '统计'
                                                }
                                            ]
                                        }
                                    },
                                    {
                                        path: 'AskStatistics',
                                        component: () =>
                                            import('@/views/Teacher/MyCourses/AskStatistics'),
                                        name: 'AskStatistics',
                                        meta: {
                                            title: '我的课程-统计-提问统计',
                                            navActive: '/Teaching/MyCourses/Statistics/Teach/AskStatistics',
                                            breadcrumb: [
                                                {
                                                    name: '我的教学',
                                                    path: '/Teaching/index'
                                                },
                                                {
                                                    name: '统计'
                                                }
                                            ]
                                        }
                                    }

                                ]
                            }
                        ]
                    },
                    //yx教师端 交流
                    {
                        path: 'Interflow',
                        component: () =>
                            import('@/views/Teacher/CommitLayout'),
                        meta: {
                            navActive: '/Teaching/MyCourses/Interflow/Answer/AnswerList',
                            roles: ['TEACHER', 'UNIVERSITY_TEACHER', 'MARKET_TEACHER'],

                        },
                        children: [
                            {
                                path: 'Answer',
                                component: () =>
                                    import('@/views/Teacher/MyCourses/layout/AnswerLayout'),
                                redirect: '/Teaching/MyCourses/Interflow/Answer/AnswerList',
                                meta: {
                                    navActive: '/Teaching/MyCourses/Interflow/Answer/AnswerList'
                                },
                                children: [
                                    {
                                        path: 'AnswerList',
                                        component: () =>
                                            import('@/views/Teacher/MyCourses/AnswerList'),
                                        name: 'AnswerList',
                                        meta: {
                                            title: '我的课程-交流-问题列表',
                                            navActive: '/Teaching/MyCourses/Interflow/Answer/AnswerList',
                                            breadcrumb: [
                                                {
                                                    name: '我的教学',
                                                    path: '/Teaching/index'
                                                },
                                                {
                                                    name: '问题列表'
                                                }
                                            ]
                                        }
                                    },
                                    {
                                        path: 'AnswerListDetail',
                                        component: () =>
                                            import('@/views/Teacher/MyCourses/AnswerListDetail'),
                                        name: 'AnswerListDetail',
                                        meta: {
                                            title: '我的课程-交流-问题列表详情',
                                            navActive: '/Teaching/MyCourses/Interflow/Answer/AnswerList',
                                            breadcrumb: [
                                                {
                                                    name: '我的教学',
                                                    path: '/Teaching/index'
                                                },
                                                {
                                                    name: '问题列表',
                                                    path: '/Teaching/MyCourses/Interflow/Answer/AnswerList'
                                                },
                                                {
                                                    name: '问题详情'
                                                }
                                            ]
                                        }
                                    }
                                ]
                            },
                            {
                                path: 'MyAnswer',
                                component: () =>
                                    import('@/views/Teacher/MyCourses/layout/MyAnswerLayout'),
                                redirect: '/Teaching/MyCourses/Interflow/MyAnswer/AnswerList',
                                meta: {
                                    navActive: '/Teaching/MyCourses/Interflow/Answer/AnswerList'
                                },
                                children: [
                                    {
                                        path: 'MyAnswerList',
                                        component: () =>
                                            import('@/views/Teacher/MyCourses/MyAnswer'),
                                        name: 'MyAnswerList',
                                        meta: {
                                            title: '我的课程-交流-我的回答',
                                            navActive: '/Teaching/MyCourses/Interflow/MyAnswer/MyAnswerList',
                                            breadcrumb: [
                                                {
                                                    name: '我的教学',
                                                    path: '/Teaching/index'
                                                },
                                                {
                                                    name: '我的回答'
                                                }
                                            ]
                                        }
                                    },
                                    {
                                        path: 'AnswerDetail',
                                        component: () =>
                                            import('@/views/Teacher/MyCourses/MyAnswerDetail'),
                                        name: 'AnswerDetail',
                                        meta: {
                                            title: '我的课程-交流-我的回答详情',
                                            navActive: '/Teaching/MyCourses/Interflow/MyAnswer/MyAnswerList',
                                            breadcrumb: [
                                                {
                                                    name: '我的教学',
                                                    path: '/Teaching/index'
                                                },
                                                {
                                                    name: '我的回答',
                                                    path: '/Teaching/MyCourses/Interflow/MyAnswer/MyAnswerList'
                                                },
                                                {
                                                    name: '回答详情'
                                                }
                                            ]
                                        }
                                    }
                                ]
                            },
                            {
                                path: 'MyQuestion',
                                component: () =>
                                    import('@/views/Teacher/MyCourses/layout/MyQuestionLayout'),
                                redirect: '/Teaching/MyCourses/Interflow/MyQuestion/QuestionList',
                                meta: {
                                    navActive: '/Teaching/MyCourses/Interflow/Answer/AnswerList'
                                },
                                children: [
                                    {
                                        path: 'QuestionList',
                                        component: () =>
                                            import('@/views/Teacher/MyCourses/MyQuestion'),
                                        name: 'QuestionList',
                                        meta: {
                                            title: '我的课程-交流-我的问题',
                                            navActive: '/Teaching/MyCourses/Interflow/MyQuestion/QuestionList',
                                            breadcrumb: [
                                                {
                                                    name: '我的教学',
                                                    path: '/Teaching/index'
                                                },
                                                {
                                                    name: '我的问题'
                                                }
                                            ]
                                        }
                                    },
                                    {
                                        path: 'QuestionDetail',
                                        component: () =>
                                            import('@/views/Teacher/MyCourses/MyQuestionDetail'),
                                        name: 'QuestionDetail',
                                        meta: {
                                            title: '我的课程-交流-我的问题详情',
                                            navActive: '/Teaching/MyCourses/Interflow/MyQuestion/QuestionList',
                                            breadcrumb: [
                                                {
                                                    name: '我的教学',
                                                    path: '/Teaching/index'
                                                },
                                                {
                                                    name: '我的问题',
                                                    path: '/Teaching/MyCourses/Interflow/MyQuestion/QuestionList'
                                                },
                                                {
                                                    name: '问题详情'
                                                }
                                            ]
                                        }
                                    }
                                ]
                            },
                            {
                                path: 'ForbiddenMange',
                                component: () =>
                                    import('@/views/Teacher/MyCourses/layout/ForbiddenLayout'),
                                redirect: '/Teaching/MyCourses/Interflow/ForbiddenMange/Forbiddenlist',
                                meta: {
                                    navActive: '/Teaching/MyCourses/Interflow/Answer/AnswerList'
                                },
                                children: [
                                    {
                                        path: 'Forbiddenlist',
                                        component: () =>
                                            import('@/views/Teacher/MyCourses/ForbiddenMange'),
                                        name: 'Forbiddenlist',
                                        meta: {
                                            title: '我的课程-交流-禁言管理',
                                            navActive: '/Teaching/MyCourses/Interflow/ForbiddenMange/Forbiddenlist',
                                            breadcrumb: [
                                                {
                                                    name: '我的教学',
                                                    path: '/Teaching/index'
                                                },
                                                {
                                                    name: '禁言管理',
                                                }
                                            ]
                                        }
                                    }
                                ]
                            },
                            {
                                path: 'CommunicatiSwitch',
                                component: () =>
                                    import('@/views/Teacher/MyCourses/layout/CommunicatiSwitchLayout'),
                                redirect: '/Teaching/MyCourses/Interflow/CommunicatiSwitch',
                                meta: {
                                    navActive: '/Teaching/MyCourses/Interflow/Answer/AnswerList'
                                },
                                children: [
                                    {
                                        path: '',
                                        component: () =>
                                            import('@/views/Teacher/MyCourses/CommunicatiSwitch'),
                                        name: 'CommunicatiSwitch',
                                        meta: {
                                            title: '我的课程-交流-是否开启交流',
                                            navActive: '/Teaching/MyCourses/Interflow/CommunicatiSwitch',
                                            breadcrumb: [
                                                {
                                                    name: '我的教学',
                                                    path: '/Teaching/index'
                                                },
                                                {
                                                    name: '是否开启交流',
                                                }
                                            ]
                                        }
                                    }
                                ]
                            }
                        ]
                    },
                    //wwm管理
                    {
                        path: 'Management',
                        component: () =>
                            import('@/views/Teacher/ManagementLayout'),
                        meta: {
                            navActive: '/Teaching/MyCourses/Management/ManageClass/ManageList'
                        },
                        children: [
                            {
                                path: 'ManageClass',
                                component: () =>
                                    import('@/views/Teacher/MyCourses/layout/ManageClassLayout'),
                                redirect: '/Teaching/MyCourses/Management/ManageClass/ManageList',
                                meta: {
                                    navActive: '/Teaching/MyCourses/Management/ManageClass/ManageList'
                                },
                                children: [
                                    {
                                        path: 'ManageList',
                                        component: () =>
                                            import('@/views/Teacher/MyCourses/ManageClass'),
                                        name: 'ManageList',
                                        meta: {
                                            title: '我的课程-管理-班级管理',
                                            navActive: '/Teaching/MyCourses/Management/ManageClass/ManageList',
                                            breadcrumb: [
                                                {
                                                    name: '我的教学',
                                                    path: '/Teaching/index'
                                                },
                                                {
                                                    name: '管理'
                                                }
                                            ]
                                        }
                                    },
                                    {
                                        path: 'ManageStudent',
                                        component: () =>
                                            import('@/views/Teacher/MyCourses/ManageStudent'),
                                        name: 'ManageStudent',
                                        meta: {
                                            title: '我的课程-管理-班级管理-管理学生',
                                            navActive: '/Teaching/MyCourses/Management/ManageClass/ManageList',
                                            breadcrumb: [
                                                {
                                                    name: '我的教学',
                                                    path: '/Teaching/index'
                                                },
                                                {
                                                    name: '管理',
                                                    path: '/Teaching/MyCourses/Management/ManageClass/ManageList'
                                                },
                                                {
                                                    name: '管理学生'
                                                }
                                            ]
                                        }
                                    }
                                ]
                            },
                            {
                                path: 'Virtual',
                                component: () =>
                                    import('@/views/Teacher/MyCourses/layout/ManageClassLayout'),
                                redirect: '/Teaching/MyCourses/Management/Virtual/Manage',
                                meta: {
                                    navActive: '/Teaching/MyCourses/Management/ManageClass/ManageList'
                                },
                                children: [
                                    {
                                        path: 'Manage',
                                        component: () =>
                                            import('@/views/Teacher/MyCourses/ManageVirtualMachine'),
                                        name: 'Manage',
                                        meta: {
                                            title: '我的课程-管理-班级管理',
                                            navActive: '/Teaching/MyCourses/Management/Virtual/Manage',
                                            breadcrumb: [
                                                {
                                                    name: '我的教学',
                                                    path: '/Teaching/index'
                                                },
                                                {
                                                    name: '管理'
                                                }
                                            ]
                                        }
                                    }
                                ]
                            },
                            {
                                path: 'AssistantManage',
                                component: () =>
                                    import('@/views/Teacher/MyCourses/layout/ManageClassLayout'),
                                meta: {
                                    navActive: '/Teaching/MyCourses/Management/ManageClass/ManageList'
                                },
                                children: [
                                    {
                                        path: 'Assisge',
                                        component: () =>
                                            import('@/views/Teacher/MyCourses/AssistantManage'),
                                        name: 'Assisge',
                                        meta: {
                                            title: '我的课程-管理-助教管理',
                                            navActive: '/Teaching/MyCourses/Management/AssistantManage/Assisge',
                                            breadcrumb: [
                                                {
                                                    name: '我的教学',
                                                    path: '/Teaching/index'
                                                },
                                                {
                                                    name: '管理'
                                                }
                                            ]
                                        }
                                    }
                                ]
                            },
                        ]
                    }
                    //wwm管理end
                ]
            },

            // 我的课程end wty
            //课程体系
            {
                path: 'Systerm',
                component: () =>
                    import('@/views/Teacher/CourseSysterm/CourseSysterm'),
                name: 'Systerm',
                meta: {
                    navActive: '/Teaching/Systerm',
                    title: '课程体系'
                },
            },
            //yx

            // 竞赛管理 wwm
            {
                path: 'Course',
                component: () =>
                    import('@/views/Teacher/CreativeCourse/CreativeLayout'),
                redirect: '/Teaching/Course/MakeCourseList',
                meta: {
                    navActive: '/Teaching/Course/MakeCourseList'
                },

                children: [
                    //步骤实验课
                    {
                        path: 'Step',
                        component: () =>
                            import('@/views/Teacher/CreativeCourse/CreativeCourseStepLayout'),
                        redirect: '/Teaching/Course/Step/StepFile',
                        meta: {
                            navActive: '/Teaching/Course/Step/Stepfile'
                        },
                        children: [
                            {
                                path: 'StepFile',
                                component: () =>
                                    import('@/views/Teacher/CreativeCourse/StepFile'),
                                name: 'StepFile',
                                meta: {
                                    navActive: '/Teaching/Course/Step/Stepfile',
                                    // title: '实验章节',
                                    title: '任务管理',

                                    breadcrumb: [
                                        {
                                            name: '竞赛设置',
                                            path: ' /competitionManagement'
                                        },
                                        {
                                            name: '任务管理',
                                            path: '/Teaching/Course/CreativeCourse/ChapterInfo'
                                        }
                                    ]
                                }
                            },
                            {
                                path: 'StudyResourse',
                                component: () =>
                                    import('@/views/Teacher/CreativeCourse/StudyResourse'),
                                name: 'StudyResourse',
                                meta: {
                                    navActive: '/Teaching/Course/Step/StudyResourse',
                                    title: '学习资源',
                                    breadcrumb: [
                                        {
                                            name: '竞赛管理',
                                            path: '/Teaching/Course/MakeCourseList'
                                        },
                                        {
                                            name: '任务管理',
                                            path: '/Teaching/Course/CreativeCourse/ChapterInfo'
                                        },
                                        {
                                            name: '学习资源'
                                        }
                                    ]
                                }
                            },
                            {
                                path: 'PracticeItemBank',
                                component: () =>
                                    import('@/views/Teacher/MyCourses/PracticeItemBank'),
                                name: 'PracticeItemBankExperimentFile',
                                meta: {
                                    navActive: '/Teaching/Course/Step/PracticeItemBank',
                                    title: '随堂练习',
                                    breadcrumb: [
                                        {
                                            name: '竞赛管理',
                                            path: '/Teaching/Course/MakeCourseList'
                                        },
                                        {
                                            name: '任务管理',
                                            path: '/Teaching/Course/CreativeCourse/ChapterInfo'
                                        },
                                        {
                                            name: '随堂练习'
                                        }
                                    ]
                                }
                            },
                            //添加随堂练习
                            {
                                path: 'PracticeAddChoiceQuestion',
                                component: () =>
                                    import('@/views/Teacher/MyCourses/PracticeAddChoiceQuestion'),
                                name: 'PracticeAddChoiceQuestion',
                                meta: {
                                    navActive: '/Teaching/Course/Step/PracticeItemBank',
                                    title: '随堂练习-选择题',
                                    breadcrumb: [
                                        {
                                            name: '竞赛管理',
                                            path: '/Teaching/Course/MakeCourseList'
                                        },
                                        {
                                            name: '任务管理',
                                            path: '/Teaching/Course/CreativeCourse/ChapterInfo'
                                        },
                                        {
                                            name: '随堂练习',
                                            path: '/Teaching/Course/Step/PracticeItemBank'
                                        },
                                        {
                                            name: '选择题'
                                        }
                                    ]
                                }
                            },
                            {
                                path: 'PracticeAddJudge',
                                component: () =>
                                    import('@/views/Teacher/MyCourses/PracticeAddJudge'),
                                name: 'PracticeAddJudge',
                                meta: {
                                    navActive: '/Teaching/Course/Step/PracticeItemBank',
                                    title: '随堂练习-判断题',
                                    breadcrumb: [
                                        {
                                            name: '竞赛管理',
                                            path: '/Teaching/Course/MakeCourseList'
                                        },
                                        {
                                            name: '任务管理',
                                            path: '/Teaching/Course/CreativeCourse/ChapterInfo'
                                        },
                                        {
                                            name: '随堂练习',
                                            path: '/Teaching/Course/Step/PracticeItemBank'
                                        },
                                        {
                                            name: '判断题'
                                        }
                                    ]
                                }
                            },
                            {
                                path: 'PracticeAddFillInTheBlanks',
                                component: () =>
                                    import('@/views/Teacher/MyCourses/PracticeAddFillInTheBlanks'),
                                name: 'PracticeAddFillInTheBlanks',
                                meta: {
                                    navActive: '/Teaching/Course/Step/PracticeItemBank',
                                    title: '随堂练习-填空题',
                                    breadcrumb: [
                                        {
                                            name: '竞赛管理',
                                            path: '/Teaching/Course/MakeCourseList'
                                        },
                                        {
                                            name: '任务管理',
                                            path: '/Teaching/Course/CreativeCourse/ChapterInfo'
                                        },
                                        {
                                            name: '随堂练习',
                                            path: '/Teaching/Course/Step/PracticeItemBank'
                                        },
                                        {
                                            name: '填空题'
                                        }
                                    ]
                                }
                            },
                            {
                                path: 'PracticeAddShortAnswerQuestions',
                                component: () =>
                                    import('@/views/Teacher/MyCourses/PracticeAddShortAnswerQuestions'),
                                name: 'PracticeAddShortAnswerQuestions',
                                meta: {
                                    navActive: '/Teaching/Course/Step/PracticeItemBank',
                                    title: '随堂练习-简答题',
                                    breadcrumb: [
                                        {
                                            name: '竞赛管理',
                                            path: '/Teaching/Course/MakeCourseList'
                                        },
                                        {
                                            name: '任务管理',
                                            path: '/Teaching/Course/CreativeCourse/ChapterInfo'
                                        },
                                        {
                                            name: '随堂练习',
                                            path: '/Teaching/Course/Step/PracticeItemBank'
                                        },
                                        {
                                            name: '简答题'
                                        }
                                    ]
                                }
                            },
                            {
                                path: 'PracticeAddEnclosure',
                                component: () =>
                                    import('@/views/Teacher/MyCourses/PracticeAddEnclosure'),
                                name: 'PracticeAddEnclosure',
                                meta: {
                                    navActive: '/Teaching/Course/Step/PracticeItemBank',
                                    title: '随堂练习-附件题',
                                    breadcrumb: [
                                        {
                                            name: '竞赛管理',
                                            path: '/Teaching/Course/MakeCourseList'
                                        },
                                        {
                                            name: '任务管理',
                                            path: '/Teaching/Course/CreativeCourse/ChapterInfo'
                                        },
                                        {
                                            name: '随堂练习',
                                            path: '/Teaching/Course/Step/PracticeItemBank'
                                        },
                                        {
                                            name: '附件题'
                                        }
                                    ]
                                }
                            },
                            //添加随堂练习end
                            {
                                path: 'StudyMaterials',
                                component: () =>
                                    import('@/views/Teacher/CreativeCourse/StudyMaterials'),
                                name: 'StudyMaterials',
                                meta: {
                                    navActive: '/Teaching/Course/Step/StudyMaterials',
                                    title: '备课材料',
                                    breadcrumb: [
                                        {
                                            name: '竞赛管理',
                                            path: '/Teaching/Course/MakeCourseList'
                                        },
                                        {
                                            name: '任务管理',
                                            path: '/Teaching/Course/CreativeCourse/ChapterInfo'
                                        },
                                        {
                                            name: '备课材料'
                                        }
                                    ]
                                }
                            },
                            {
                                path: 'StudyFile',
                                component: () =>
                                    import('@/views/Teacher/CreativeCourse/StudyFile'),
                                name: 'StudyFile',
                                meta: {
                                    navActive: '/Teaching/Course/Step/StudyFile',
                                    title: '理论教学',
                                    breadcrumb: [
                                        {
                                            name: '竞赛管理',
                                            path: '/Teaching/Course/MakeCourseList'
                                        },
                                        {
                                            name: '任务管理',
                                            path: '/Teaching/Course/CreativeCourse/ChapterInfo'
                                        },
                                        {
                                            name: '理论教学'
                                        }
                                    ]
                                }
                            },

                        ]
                    },
                    // 实验课
                    {
                        path: 'Experiment',
                        component: () =>
                            import('@/views/Teacher/CreativeCourse/CreativeCourseDetailexprientNavLayout'),
                        redirect: '/Teaching/Course/experiment/experimentFile',
                        meta: {
                            navActive: '/Teaching/Course/Experiment/experimentFile'
                        },
                        children: [
                            {
                                path: 'ExperimentFile',
                                component: () =>
                                    import('@/views/Teacher/CreativeCourse/experimentFile'),
                                name: 'experimentFile',
                                meta: {
                                    navActive: '/Teaching/Course/Experiment/ExperimentFile',
                                    title: '任务详情',
                                    breadcrumb: [
                                        {
                                            name: '竞赛管理',
                                            path: '/Teaching/Course/MakeCourseList'
                                        },
                                        {
                                            name: '任务管理',
                                            path: '/Teaching/Course/CreativeCourse/ChapterInfo'
                                        },
                                        {
                                            name: '任务详情'
                                        }
                                    ]
                                }
                            },
                            {
                                path: 'ExpeimentStudyVideo',
                                component: () =>
                                    import('@/views/Teacher/CreativeCourse/ExpeimentStudyVideo'),
                                name: 'ExpeimentStudyVideo',
                                meta: {
                                    navActive: '/Teaching/Course/Experiment/ExpeimentStudyVideo',
                                    title: '实验课学习视频',
                                    breadcrumb: [
                                        {
                                            name: '竞赛管理',
                                            path: '/Teaching/Course/MakeCourseList'
                                        },
                                        {
                                            name: '任务管理',
                                            path: '/Teaching/Course/CreativeCourse/ChapterInfo'
                                        },
                                        {
                                            name: '实验课学习视频'
                                        }
                                    ]
                                }
                            },
                            {
                                path: 'StudyResourse',
                                component: () =>
                                    import('@/views/Teacher/CreativeCourse/StudyResourse'),
                                name: 'StudyResourse',
                                meta: {
                                    navActive: '/Teaching/Course/Experiment/StudyResourse',
                                    title: '学习资源',
                                    breadcrumb: [
                                        {
                                            name: '竞赛管理',
                                            path: '/Teaching/Course/MakeCourseList'
                                        },
                                        {
                                            name: '任务管理',
                                            path: '/Teaching/Course/CreativeCourse/ChapterInfo'
                                        },
                                        {
                                            name: '学习资源'
                                        }
                                    ]
                                }
                            },

                        ]
                    },
                    //理论课
                    {
                        path: 'Detail',
                        component: () =>
                            import('@/views/Teacher/CreativeCourse/CreativeCourseDetailNavLayout'),
                        redirect: '/Teaching/Course/detail/StudyFile',
                        meta: {
                            navActive: '/Teaching/Course/Detail/StudyFile'
                        },
                        children: [
                            {
                                path: 'StudyFile',
                                component: () =>
                                    import('@/views/Teacher/CreativeCourse/StudyFile'),
                                name: 'StudyFile',
                                meta: {
                                    navActive: '/Teaching/Course/Detail/StudyFile',
                                    title: '理论教学',
                                    breadcrumb: [
                                        {
                                            name: '竞赛管理',
                                            path: '/Teaching/Course/MakeCourseList'
                                        },
                                        {
                                            name: '任务管理',
                                            path: '/Teaching/Course/CreativeCourse/ChapterInfo'
                                        },
                                        {
                                            name: '理论教学'
                                        }
                                    ]
                                }
                            },
                            {
                                path: 'StudyVideo',
                                component: () =>
                                    import('@/views/Teacher/CreativeCourse/StudyVideo'),
                                name: 'StudyVideo',
                                meta: {
                                    navActive: '/Teaching/Course/Detail/StudyVideo',
                                    title: '理论课学习视频',
                                    breadcrumb: [
                                        {
                                            name: '竞赛管理',
                                            path: '/Teaching/Course/MakeCourseList'
                                        },
                                        {
                                            name: '任务管理',
                                            path: '/Teaching/Course/CreativeCourse/ChapterInfo'
                                        },
                                        {
                                            name: '理论课学习视频'
                                        }
                                    ]
                                }
                            },
                            {
                                path: 'StudyMaterials',
                                component: () =>
                                    import('@/views/Teacher/CreativeCourse/StudyMaterials'),
                                name: 'StudyMaterials',
                                meta: {
                                    navActive: '/Teaching/Course/Detail/StudyMaterials',
                                    title: '备课材料',
                                    breadcrumb: [
                                        {
                                            name: '竞赛管理',
                                            path: '/Teaching/Course/MakeCourseList'
                                        },
                                        {
                                            name: '任务管理',
                                            path: '/Teaching/Course/CreativeCourse/ChapterInfo'
                                        },
                                        {
                                            name: '备课材料'
                                        }
                                    ]
                                }
                            },
                            {
                                path: 'StudyResourse',
                                component: () =>
                                    import('@/views/Teacher/CreativeCourse/StudyResourse'),
                                name: 'StudyResourse',
                                meta: {
                                    navActive: '/Teaching/Course/Detail/StudyResourse',
                                    title: '学习资源',
                                    breadcrumb: [
                                        {
                                            name: '竞赛管理',
                                            path: '/Teaching/Course/MakeCourseList'
                                        },
                                        {
                                            name: '任务管理',
                                            path: '/Teaching/Course/CreativeCourse/ChapterInfo'
                                        },
                                        {
                                            name: '学习资源'
                                        }
                                    ]
                                }
                            },
                            // 学生端
                            //随堂练习添加 教师端 竞赛管理 随堂练习
                            {
                                path: 'PracticeItemBank',
                                component: () =>
                                    import('@/views/Teacher/MyCourses/PracticeItemBank'),
                                name: 'PracticeItemBankCreativeCourse',
                                meta: {
                                    navActive: '/Teaching/Course/Detail/PracticeItemBank',
                                    title: '随堂练习',
                                    breadcrumb: [
                                        {
                                            name: '竞赛管理',
                                            path: '/Teaching/Course/MakeCourseList'
                                        },
                                        {
                                            name: '任务管理',
                                            path: '/Teaching/Course/CreativeCourse/ChapterInfo'
                                        },
                                        {
                                            name: '随堂练习'
                                        }
                                    ]
                                }
                            },
                            {
                                path: 'PracticeAddChoiceQuestion',
                                component: () =>
                                    import('@/views/Teacher/MyCourses/PracticeAddChoiceQuestion'),
                                name: 'PracticeAddChoiceQuestion',
                                meta: {
                                    navActive: '/Teaching/Course/Detail/PracticeItemBank',
                                    title: '随堂练习-选择题',
                                    breadcrumb: [
                                        {
                                            name: '竞赛管理',
                                            path: '/Teaching/Course/MakeCourseList'
                                        },
                                        {
                                            name: '任务管理',
                                            path: '/Teaching/Course/CreativeCourse/ChapterInfo'
                                        },
                                        {
                                            name: '随堂练习',
                                            path: '/Teaching/Course/Detail/PracticeItemBank'
                                        },
                                        {
                                            name: '选择题'
                                        }
                                    ]
                                }
                            },
                            {
                                path: 'PracticeAddJudge',
                                component: () =>
                                    import('@/views/Teacher/MyCourses/PracticeAddJudge'),
                                name: 'PracticeAddJudge',
                                meta: {
                                    navActive: '/Teaching/Course/Detail/PracticeItemBank',
                                    title: '随堂练习-判断题',
                                    breadcrumb: [
                                        {
                                            name: '竞赛管理',
                                            path: '/Teaching/Course/MakeCourseList'
                                        },
                                        {
                                            name: '任务管理',
                                            path: '/Teaching/Course/CreativeCourse/ChapterInfo'
                                        },
                                        {
                                            name: '随堂练习',
                                            path: '/Teaching/Course/Detail/PracticeItemBank'
                                        },
                                        {
                                            name: '判断题'
                                        }
                                    ]
                                }
                            },
                            {
                                path: 'PracticeAddFillInTheBlanks',
                                component: () =>
                                    import('@/views/Teacher/MyCourses/PracticeAddFillInTheBlanks'),
                                name: 'PracticeAddFillInTheBlanks',
                                meta: {
                                    navActive: '/Teaching/Course/Detail/PracticeItemBank',
                                    title: '随堂练习-填空题',
                                    breadcrumb: [
                                        {
                                            name: '竞赛管理',
                                            path: '/Teaching/Course/MakeCourseList'
                                        },
                                        {
                                            name: '任务管理',
                                            path: '/Teaching/Course/CreativeCourse/ChapterInfo'
                                        },
                                        {
                                            name: '随堂练习',
                                            path: '/Teaching/Course/Detail/PracticeItemBank'
                                        },
                                        {
                                            name: '填空题'
                                        }
                                    ]
                                }
                            },
                            {
                                path: 'PracticeAddShortAnswerQuestions',
                                component: () =>
                                    import('@/views/Teacher/MyCourses/PracticeAddShortAnswerQuestions'),
                                name: 'PracticeAddShortAnswerQuestions',
                                meta: {
                                    navActive: '/Teaching/Course/Detail/PracticeItemBank',
                                    title: '随堂练习-简答题',
                                    breadcrumb: [
                                        {
                                            name: '竞赛管理',
                                            path: '/Teaching/Course/MakeCourseList'
                                        },
                                        {
                                            name: '任务管理',
                                            path: '/Teaching/Course/CreativeCourse/ChapterInfo'
                                        },
                                        {
                                            name: '随堂练习',
                                            path: '/Teaching/Course/Detail/PracticeItemBank'
                                        },
                                        {
                                            name: '简答题'
                                        }
                                    ]
                                }
                            },
                            {
                                path: 'PracticeAddEnclosure',
                                component: () =>
                                    import('@/views/Teacher/MyCourses/PracticeAddEnclosure'),
                                name: 'PracticeAddEnclosure',
                                meta: {
                                    navActive: '/Teaching/Course/Detail/PracticeItemBank',
                                    title: '随堂练习-附件题',
                                    breadcrumb: [
                                        {
                                            name: '竞赛管理',
                                            path: '/Teaching/Course/MakeCourseList'
                                        },
                                        {
                                            name: '任务管理',
                                            path: '/Teaching/Course/CreativeCourse/ChapterInfo'
                                        },
                                        {
                                            name: '随堂练习',
                                            path: '/Teaching/Course/Detail/PracticeItemBank'
                                        },
                                        {
                                            name: '附件题'
                                        }
                                    ]
                                }
                            },
                            //随堂练习添加 结束


                        ]
                    },
                    //专科版本多任务路由教师端
                    {
                        path: 'Multitask',
                        component: () =>
                            import('@/views/Teacher/CreativeCourse/CreativeCourseMultitaskLayout'),
                        redirect: '/Teaching/Course/Multitask/TaskFile',
                        meta: {
                            navActive: '/Teaching/Course/Multitask/TaskFile',
                        },
                        children: [
                            {
                                path: 'TaskFile',
                                component: () =>
                                    import('@/views/Teacher/CreativeCourse/TaskFile'),
                                name: 'TaskFile',
                                meta: {
                                    navActive: '/Teaching/Course/Multitask/TaskFile',
                                    title: '实验任务',
                                    breadcrumb: [
                                        {
                                            name: '竞赛管理',
                                            path: '/Teaching/Course/MakeCourseList'
                                        },
                                        {
                                            name: '任务管理',
                                            path: '/Teaching/Course/CreativeCourse/ChapterInfo'
                                        },
                                        {
                                            name: '任务详情',
                                            path: '/Teaching/Course/Theoretical/ExperimentFile'
                                        },
                                        {
                                            name: '实验任务'
                                        }
                                    ]
                                }
                            },
                        ]
                    },
                    //理论和实验
                    {
                        path: 'Theoretical',
                        component: () =>
                            import('@/views/Teacher/CreativeCourse/CreativeCourseTheoreticalLayout'),
                        redirect: '/Teaching/Course/Theoretical/StudyFile',
                        meta: {
                            navActive: '/Teaching/Course/Theoretical/StudyFile'
                        },
                        children: [
                            {
                                path: 'StudyFile',
                                component: () =>
                                    import('@/views/Teacher/CreativeCourse/StudyFile'),
                                name: 'StudyFile',
                                meta: {
                                    navActive: '/Teaching/Course/Theoretical/StudyFile',
                                    title: '理论教学',
                                    breadcrumb: [
                                        {
                                            name: '竞赛管理',
                                            path: '/Teaching/Course/MakeCourseList'
                                        },
                                        {
                                            name: '任务管理',
                                            path: '/Teaching/Course/CreativeCourse/ChapterInfo'
                                        },
                                        {
                                            name: '理论教学'
                                        }
                                    ]
                                }
                            },
                            {
                                path: 'StudyVideo',
                                component: () =>
                                    import('@/views/Teacher/CreativeCourse/StudyVideo'),
                                name: 'StudyVideo',
                                meta: {
                                    navActive: '/Teaching/Course/Theoretical/StudyVideo',
                                    title: '理论课学习视频',
                                    breadcrumb: [
                                        {
                                            name: '竞赛管理',
                                            path: '/Teaching/Course/MakeCourseList'
                                        },
                                        {
                                            name: '任务管理',
                                            path: '/Teaching/Course/CreativeCourse/ChapterInfo'
                                        },
                                        {
                                            name: '理论课学习视频'
                                        }
                                    ]
                                }
                            },
                            {
                                path: 'StudyMaterials',
                                component: () =>
                                    import('@/views/Teacher/CreativeCourse/StudyMaterials'),
                                name: 'StudyMaterials',
                                meta: {
                                    navActive: '/Teaching/Course/Theoretical/StudyMaterials',
                                    title: '备课材料',
                                    breadcrumb: [
                                        {
                                            name: '竞赛管理',
                                            path: '/Teaching/Course/MakeCourseList'
                                        },
                                        {
                                            name: '任务管理',
                                            path: '/Teaching/Course/CreativeCourse/ChapterInfo'
                                        },
                                        {
                                            name: '备课材料'
                                        }
                                    ]
                                }
                            },
                            {
                                path: 'StudyResourse',
                                component: () =>
                                    import('@/views/Teacher/CreativeCourse/StudyResourse'),
                                name: 'StudyResourse',
                                meta: {
                                    navActive: '/Teaching/Course/Theoretical/StudyResourse',
                                    title: '学习资源',
                                    breadcrumb: [
                                        {
                                            name: '竞赛管理',
                                            path: '/Teaching/Course/MakeCourseList'
                                        },
                                        {
                                            name: '任务管理',
                                            path: '/Teaching/Course/CreativeCourse/ChapterInfo'
                                        },
                                        {
                                            name: '学习资源'
                                        }
                                    ]
                                }
                            },
                            {
                                path: 'ExpeimentStudyVideo',
                                component: () =>
                                    import('@/views/Teacher/CreativeCourse/ExpeimentStudyVideo'),
                                name: 'ExpeimentStudyVideo',
                                meta: {
                                    navActive: '/Teaching/Course/Theoretical/ExpeimentStudyVideo',
                                    title: '实验课学习视频',
                                    breadcrumb: [
                                        {
                                            name: '竞赛管理',
                                            path: '/Teaching/Course/MakeCourseList'
                                        },
                                        {
                                            name: '任务管理',
                                            path: '/Teaching/Course/CreativeCourse/ChapterInfo'
                                        },
                                        {
                                            name: '实验课学习视频'
                                        }
                                    ]
                                }
                            },
                            {
                                path: 'ExperimentFile',
                                component: () =>
                                    import('@/views/Teacher/CreativeCourse/experimentFile'),
                                name: 'experimentFile',
                                meta: {
                                    navActive: '/Teaching/Course/Theoretical/ExperimentFile',
                                    title: '任务详情',
                                    breadcrumb: [
                                        {
                                            name: '竞赛管理',
                                            path: '/Teaching/Course/MakeCourseList'
                                        },
                                        {
                                            name: '任务管理',
                                            path: '/Teaching/Course/CreativeCourse/ChapterInfo'
                                        },
                                        {
                                            name: '任务详情'
                                        }
                                    ]
                                }
                            },
                            //杨加的随堂
                            {
                                path: 'PracticeItemBank',
                                component: () =>
                                    import('@/views/Teacher/MyCourses/PracticeItemBank'),
                                name: 'PracticeItemBankExperimentFileTheoretical',
                                meta: {
                                    navActive: '/Teaching/Course/Theoretical/PracticeItemBank',
                                    title: '随堂练习',
                                    breadcrumb: [
                                        {
                                            name: '竞赛管理',
                                            path: '/Teaching/Course/MakeCourseList'
                                        },
                                        {
                                            name: '任务管理',
                                            path: '/Teaching/Course/CreativeCourse/ChapterInfo'
                                        },
                                        {
                                            name: '随堂练习'
                                        }
                                    ]
                                }
                            },
                            {
                                path: 'PracticeAddChoiceQuestion',
                                component: () =>
                                    import('@/views/Teacher/MyCourses/PracticeAddChoiceQuestion'),
                                name: 'PracticeAddChoiceQuestion',
                                meta: {
                                    navActive: '/Teaching/Course/Theoretical/PracticeItemBank',
                                    title: '随堂练习-选择题',
                                    breadcrumb: [
                                        {
                                            name: '竞赛管理',
                                            path: '/Teaching/Course/MakeCourseList'
                                        },
                                        {
                                            name: '任务管理',
                                            path: '/Teaching/Course/CreativeCourse/ChapterInfo'
                                        },
                                        {
                                            name: '随堂练习',
                                            path: '/Teaching/Course/Theoretical/PracticeItemBank'
                                        },
                                        {
                                            name: '选择题',
                                        }
                                    ]
                                }
                            },
                            {
                                path: 'PracticeAddJudge',
                                component: () =>
                                    import('@/views/Teacher/MyCourses/PracticeAddJudge'),
                                name: 'PracticeAddJudge',
                                meta: {
                                    navActive: '/Teaching/Course/Theoretical/PracticeItemBank',
                                    title: '随堂练习-判断题',
                                    breadcrumb: [
                                        {
                                            name: '竞赛管理',
                                            path: '/Teaching/Course/MakeCourseList'
                                        },
                                        {
                                            name: '任务管理',
                                            path: '/Teaching/Course/CreativeCourse/ChapterInfo'
                                        },
                                        {
                                            name: '随堂练习',
                                            path: '/Teaching/Course/Theoretical/PracticeItemBank'
                                        },
                                        {
                                            name: '判断题',
                                        }
                                    ]
                                }
                            },
                            {
                                path: 'PracticeAddFillInTheBlanks',
                                component: () =>
                                    import('@/views/Teacher/MyCourses/PracticeAddFillInTheBlanks'),
                                name: 'PracticeAddFillInTheBlanks',
                                meta: {
                                    navActive: '/Teaching/Course/Theoretical/PracticeItemBank',
                                    title: '随堂练习-填空题',
                                    breadcrumb: [
                                        {
                                            name: '竞赛管理',
                                            path: '/Teaching/Course/MakeCourseList'
                                        },
                                        {
                                            name: '任务管理',
                                            path: '/Teaching/Course/CreativeCourse/ChapterInfo'
                                        },
                                        {
                                            name: '随堂练习',
                                            path: '/Teaching/Course/Theoretical/PracticeItemBank'
                                        },
                                        {
                                            name: '填空题',
                                        }
                                    ]
                                }
                            },
                            {
                                path: 'PracticeAddShortAnswerQuestions',
                                component: () =>
                                    import('@/views/Teacher/MyCourses/PracticeAddShortAnswerQuestions'),
                                name: 'PracticeAddShortAnswerQuestions',
                                meta: {
                                    navActive: '/Teaching/Course/Theoretical/PracticeItemBank',
                                    title: '随堂练习-简答题',
                                    breadcrumb: [
                                        {
                                            name: '竞赛管理',
                                            path: '/Teaching/Course/MakeCourseList'
                                        },
                                        {
                                            name: '任务管理',
                                            path: '/Teaching/Course/CreativeCourse/ChapterInfo'
                                        },
                                        {
                                            name: '随堂练习',
                                            path: '/Teaching/Course/Theoretical/PracticeItemBank'
                                        },
                                        {
                                            name: '简答题',
                                        }
                                    ]
                                }
                            },
                            {
                                path: 'PracticeAddEnclosure',
                                component: () =>
                                    import('@/views/Teacher/MyCourses/PracticeAddEnclosure'),
                                name: 'PracticeAddEnclosure',
                                meta: {
                                    navActive: '/Teaching/Course/Theoretical/PracticeItemBank',
                                    title: '随堂练习-附件题',
                                    breadcrumb: [
                                        {
                                            name: '竞赛管理',
                                            path: '/Teaching/Course/MakeCourseList'
                                        },
                                        {
                                            name: '任务管理',
                                            path: '/Teaching/Course/CreativeCourse/ChapterInfo'
                                        },
                                        {
                                            name: '随堂练习',
                                            path: '/Teaching/Course/Theoretical/PracticeItemBank'
                                        },
                                        {
                                            name: '附件题',
                                        }
                                    ]
                                }
                            },
                        ]
                    },
                    //over
                    {
                        path: '',
                        component: () =>
                            import('@/views/Teacher/CreativeCourse/CreativeErjiLayout'),
                        redirect: '/Teaching/Course/MakeCourseList',
                        meta: {
                            navActive: '/Teaching/Course/MakeCourseList'
                        },
                        children: [{
                            path: 'MakeCourseList',
                            component: () =>
                                import('@/views/Teacher/CreativeCourse/MakeCourseList'),
                            name: 'MakeCourseList',
                            meta: {
                                navActive: '/Teaching/Course/MakeCourseList',
                                title: '竞赛管理-制作课程'
                            }
                        },
                        {
                            path: 'ReportTemplate',
                            component: () =>
                                import('@/views/Teacher/CreativeCourse/ReportTemplate'),
                            name: 'ReportTemplate',
                            meta: {
                                navActive: '/Teaching/Course/ReportTemplate',
                                title: '竞赛管理-报告模板'
                            }
                        },
                        ]
                    },
                    {
                        path: 'CreativeCourse',
                        component: () =>
                            import('@/views/Teacher/CreativeCourse/CreativeProductionLayout'),
                        redirect: '/Teaching/Course/CreativeCourse/CourseBaseInfo',
                        children: [
                            {
                                path: 'CourseBaseInfo',
                                component: () =>
                                    import('@/views/Teacher/CreativeCourse/CourseBaseInfo'),
                                name: 'CourseBaseInfo',
                                meta: {
                                    navActive: '/Teaching/Course/CreativeCourse/CourseBaseInfo',
                                    title: '竞赛管理-基本信息',
                                    breadcrumb: [
                                        {
                                            name: '竞赛管理',
                                            path: '/Teaching/Course/MakeCourseList'
                                        },
                                        {
                                            name: '基本信息',
                                        }
                                    ]
                                },
                            },
                            {
                                path: 'CourseBaseOutline',
                                component: () =>
                                    import('@/views/Teacher/CreativeCourse/CourseBaseOutline'),
                                name: 'CourseBaseOutline',
                                meta: {
                                    navActive: '/Teaching/Course/CreativeCourse/CourseBaseOutline',
                                    title: '竞赛管理-课程大纲',
                                    breadcrumb: [{
                                        name: '竞赛管理',
                                        path: '/Teaching/Course/MakeCourseList'
                                    },
                                    {
                                        name: '课程大纲',
                                    }
                                    ]
                                },
                            },
                            {
                                path: 'ChapterInfo',
                                component: () =>
                                    import('@/views/Teacher/CreativeCourse/ChapterInfo'),
                                name: 'ChapterInfo',
                                meta: {
                                    navActive: '/Teaching/Course/CreativeCourse/ChapterInfo',
                                    title: '竞赛管理-任务管理',
                                    breadcrumb: [
                                        {
                                            name: '竞赛管理',
                                            path: '/Teaching/Course/MakeCourseList'
                                        },
                                        {
                                            name: '任务管理',
                                        }
                                    ]
                                },
                            },
                            {
                                path: 'ChapterClassification',
                                component: () =>
                                    import('@/views/Teacher/CreativeCourse/ChapterClassification'),
                                name: 'ChapterClassification',
                                meta: {
                                    navActive: '/Teaching/Course/CreativeCourse/ChapterClassification',
                                    title: '竞赛管理-章节分类',
                                    breadcrumb: [
                                        {
                                            name: '竞赛管理',
                                            path: '/Teaching/Course/MakeCourseList'
                                        },
                                        {
                                            name: '章节分类',
                                        }
                                    ]
                                },
                            },
                            //CreativeCourse
                            {
                                path: 'ItemBankList',
                                component: () =>
                                    import('@/views/Teacher/MyCourses/ItemBank'),
                                name: 'ItemBankListCreativeCourse',
                                meta: {
                                    navActive: '/Teaching/Course/CreativeCourse/ItemBankList',
                                    title: '竞赛管理-考试试题',
                                    breadcrumb: [
                                        {
                                            name: '竞赛管理',
                                            path: '/Teaching/Course/MakeCourseList'
                                        },
                                        {
                                            name: '考试试题'
                                        }
                                    ]
                                }
                            },
                            {
                                path: 'AddChoiceQuestion',
                                component: () =>
                                    import('@/views/Teacher/MyCourses/AddChoiceQuestion'),
                                name: 'AddChoiceQuestion',
                                meta: {
                                    navActive: '/Teaching/Course/CreativeCourse/ItemBankList',
                                    title: '竞赛管理-添加试题-选择题',
                                    breadcrumb: [
                                        {
                                            name: '竞赛管理',
                                            path: '/Teaching/Course/MakeCourseList'
                                        },
                                        {
                                            name: '考试试题',
                                            path: '/Teaching/Course/CreativeCourse/ItemBankList'
                                        },
                                        {
                                            name: '选择题'
                                        }
                                    ]
                                }
                            },
                            {
                                path: 'AddJudge',
                                component: () =>
                                    import('@/views/Teacher/MyCourses/AddJudge'),
                                name: 'AddJudge',
                                meta: {
                                    navActive: '/Teaching/Course/CreativeCourse/ItemBankList',
                                    title: '竞赛管理-添加试题-判断题',
                                    breadcrumb: [
                                        {
                                            name: '竞赛管理',
                                            path: '/Teaching/Course/MakeCourseList'
                                        },
                                        {
                                            name: '考试试题',
                                            path: '/Teaching/Course/CreativeCourse/ItemBankList'
                                        },
                                        {
                                            name: '判断题'
                                        }
                                    ]
                                }
                            },
                            {
                                path: 'AddFillInTheBlanks',
                                component: () =>
                                    import('@/views/Teacher/MyCourses/AddFillInTheBlanks'),
                                name: 'AddFillInTheBlanks',
                                meta: {
                                    navActive: '/Teaching/Course/CreativeCourse/ItemBankList',
                                    title: '竞赛管理-添加试题-填空题',
                                    breadcrumb: [
                                        {
                                            name: '竞赛管理',
                                            path: '/Teaching/Course/MakeCourseList'
                                        },
                                        {
                                            name: '考试试题',
                                            path: '/Teaching/Course/CreativeCourse/ItemBankList'
                                        },
                                        {
                                            name: '填空题'
                                        }
                                    ]
                                }
                            },
                            {
                                path: 'AddShortAnswerQuestions',
                                component: () =>
                                    import('@/views/Teacher/MyCourses/AddShortAnswerQuestions'),
                                name: 'AddShortAnswerQuestions',
                                meta: {
                                    navActive: '/Teaching/Course/CreativeCourse/ItemBankList',
                                    title: '竞赛管理-添加试题-简答题',
                                    breadcrumb: [
                                        {
                                            name: '竞赛管理',
                                            path: '/Teaching/Course/MakeCourseList'
                                        },
                                        {
                                            name: '考试试题',
                                            path: '/Teaching/Course/CreativeCourse/ItemBankList'
                                        },
                                        {
                                            name: '简答题'
                                        }
                                    ]
                                }
                            },
                            {
                                path: 'AddExperimental',
                                component: () =>
                                    import('@/views/Teacher/MyCourses/AddExperimental'),
                                name: 'AddExperimental',
                                meta: {
                                    navActive: '/Teaching/Course/CreativeCourse/ItemBankList',
                                    title: '竞赛管理-添加试题-实验题',
                                    breadcrumb: [
                                        {
                                            name: '竞赛管理',
                                            path: '/Teaching/Course/MakeCourseList'
                                        },
                                        {
                                            name: '考试试题',
                                            path: '/Teaching/Course/CreativeCourse/ItemBankList'
                                        },
                                        {
                                            name: '实验题'
                                        }
                                    ]
                                }
                            },
                            {
                                path: 'ExcelImport',
                                component: () =>
                                    import('@/views/Teacher/MyCourses/ExcelImport'),
                                name: 'ExcelImport',
                                meta: {
                                    navActive: '/Teaching/Course/CreativeCourse/ItemBankList',
                                    title: '竞赛管理-Excel导入',
                                    breadcrumb: [
                                        {
                                            name: '竞赛管理',
                                            path: '/Teaching/Course/MakeCourseList'
                                        },
                                        {
                                            name: '考试试题',
                                            path: '/Teaching/Course/CreativeCourse/ItemBankList'
                                        },
                                        {
                                            name: 'Excel导入'
                                        }
                                    ]
                                }
                            },
                            {
                                path: 'ItemBankImport',
                                component: () =>
                                    import('@/views/Teacher/MyCourses/ItemBankImport'),
                                name: 'ItemBankImport',
                                meta: {
                                    navActive: '/Teaching/Course/CreativeCourse/ItemBankList',
                                    title: '竞赛管理-题库导入',
                                    breadcrumb: [
                                        {
                                            name: '竞赛管理',
                                            path: '/Teaching/Course/MakeCourseList'
                                        },
                                        {
                                            name: '考试试题',
                                            path: '/Teaching/Course/CreativeCourse/ItemBankList'
                                        },
                                        {
                                            name: '题库导入'
                                        }
                                    ]
                                }
                            },
                            {
                                path: 'Experiment',
                                component: () =>
                                    import('@/views/Teacher/CreativeCourse/CreativeCourseExperimentLayout'),
                                redirect: '/Teaching/Course/CreativeCourse/Experiment/CourseTemplate',
                                children: [
                                    {
                                        path: 'CourseTemplate',
                                        component: () =>
                                            import('@/views/Teacher/CreativeCourse/CourseTemplate'),
                                        name: 'CourseTemplate',
                                        meta: {
                                            navActive: '/Teaching/Course/CreativeCourse/Experiment/CourseTemplate',
                                            title: '竞赛管理-实验环境-课程模板',
                                            breadcrumb: [
                                                {
                                                    name: '竞赛管理',
                                                    path: '/Teaching/Course/MakeCourseList'
                                                },
                                                {
                                                    name: '实验环境'
                                                }
                                            ]
                                        }
                                    },
                                    {
                                        path: 'MirrorManage',
                                        component: () =>
                                            import('@/views/Teacher/CreativeCourse/MirrorManage'),
                                        name: 'MirrorManage',
                                        meta: {
                                            navActive: '/Teaching/Course/CreativeCourse/Experiment/CourseTemplate',
                                            title: '竞赛管理-实验环境-镜像管理',
                                            breadcrumb: [
                                                {
                                                    name: '竞赛管理',
                                                    path: '/Teaching/Course/MakeCourseList'
                                                },
                                                {
                                                    name: '实验环境'
                                                }
                                            ]
                                        }
                                    }
                                ]
                            }

                        ]
                    },

                ]
            },

            // 实训环境
            // 实训环境
            {
                // path: 'Training',
                // component: () =>
                //     import ('@/views/Teacher/EnvironmentalTraining/EnvironmentalLayout'),
                // redirect: '',
                // meta: {
                //     roles: ['STUDENT'],
                //     navActive: '/Teaching/Training/EnvironmentalTraining'
                // },
                // children: [{
                //     path: 'EnvironmentalTraining',
                //     component: () =>
                //         import ('@/views/Teacher/EnvironmentalTraining/EnvironmentalTraining'),
                //     name: 'EnvironmentalTraining',
                //     meta: {
                //         title: '环境实训',
                //         navActive: '/Teaching/Training/EnvironmentalTraining'
                //     }
                // }]
                path: 'SEnvironmentalTraining',
                component: () =>
                    import('@/views/Teacher/EnvironmentalTraining/EnvironmentalTraining'),
                name: 'SEnvironmentalTraining',
                meta: {
                    title: '环境实训',
                    navActive: '/Teaching/SEnvironmentalTraining'
                }
            },
            // 我的档案
            {
                path: 'MyFiles',
                component: () =>
                    import('@/views/Student/MyFiles/MyFiles'),
                name: 'MyFiles',
                meta: {
                    title: '我的档案',
                    navActive: '/Teaching/MyFiles'
                }
            },
            // 教师端环境实训
            {
                path: 'TEnvironmentalTraining',
                component: () =>
                    import('@/views/Teacher/EnvironmentalTraining/EnvironmentalLayout'),
                redirect: '/Teaching/TEnvironmentalTraining/TrainingList',
                meta: {
                    navActive: '/Teaching/TEnvironmentalTraining/TrainingList',
                },
                children: [
                    {
                        path: 'TrainingList',
                        component: () =>
                            import('@/views/Teacher/EnvironmentalTraining/TrainingList'),
                        name: 'TrainingList',
                        meta: {
                            navActive: '/Teaching/TEnvironmentalTraining/TrainingList',
                            title: '环境实训列表',
                            // breadcrumb: [
                            //     {
                            //         name: '环境实训',
                            //         path: '/Teaching/TEnvironmentalTraining/TrainingList'
                            //     },
                            //     {
                            //         name: '环境实训列表'
                            //     }
                            // ]
                        }
                    },
                    {
                        path: 'VirtualManage',
                        component: () =>
                            import('@/views/Teacher/EnvironmentalTraining/VirtualManage'),
                        name: 'VirtualManage',
                        meta: {
                            navActive: '/Teaching/TEnvironmentalTraining/VirtualManage',
                            title: '实训虚机管理',
                            // breadcrumb: [
                            //     {
                            //         name: '环境实训',
                            //         path: '/Teaching/TEnvironmentalTraining/TrainingList'
                            //     },
                            //     {
                            //         name: '实训虚机管理'
                            //     }
                            // ]
                        }
                    },
                    {
                        path: 'ProductionTrainingEnvironment',
                        component: () =>
                            import('@/views/Teacher/EnvironmentalTraining/ProductionTrainingEnvironment'),
                        name: 'ProductionTrainingEnvironment',
                        meta: {
                            navActive: '/Teaching/TEnvironmentalTraining/ProductionTrainingEnvironment',
                            title: '制作实训环境',
                            // breadcrumb: [
                            //     {
                            //         name: '环境实训',
                            //         path: '/Teaching/TEnvironmentalTraining/TrainingList'
                            //     },
                            //     {
                            //         name: '制作实训环境'
                            //     }
                            // ]
                        }
                    },
                    {
                        path: 'TrainingEnvironmentEdit',
                        component: () =>
                            import('@/views/Teacher/EnvironmentalTraining/TrainingEnvironmentEdit'),
                        name: 'TTrainingEnvironmentEdit',
                        meta: {
                            navActive: '/Teaching/TEnvironmentalTraining/ProductionTrainingEnvironment',
                            title: '实训环境编辑',
                            // breadcrumb: [
                            //     {
                            //         name: '环境实训',
                            //         path: '/Teaching/TEnvironmentalTraining/TrainingList'
                            //     },
                            //     {
                            //         name: '制作实训环境',
                            //         path: '/Teaching/TEnvironmentalTraining/ProductionTrainingEnvironment'
                            //     },
                            //     {
                            //         name: '实训环境编辑'
                            //     }
                            // ]
                        }
                    }
                ]
            },
            // // 教学统计
            // {
            //     path: 'TeachingStatistics',
            //     component: () => import ('@/views/Teacher/TeachingStatistics/TeachingStatistics'),
            //     name: 'TeachingStatistics',
            //     meta: {
            //         title: '教学统计'
            //     }
            // },
            // 文件查重
            {
                path: 'FileCheck',
                component: () =>
                    import('@/views/Teacher/FileCheck/FileCheck'),
                name: 'FileCheck',
                meta: {
                    navActive: '/Teaching/FileCheck',
                    title: '文件查重'
                }
            }
        ]
    },
    //  个人设置
    {
        path: '/Setting',
        component: () =>
            import('@/views/Teacher/Layout'),
        meta: {
            navActive: '/Teaching/index',
            roles: ['COMMENT_TEACHER','ADMIN', 'INTERNET_ADMIN', 'STUDENT', 'TEACHER', 'UNIVERSITY_TEACHER', 'MARKET_TEACHER', 'SUPER_ADMIN']
        },
        children: [{
            path: 'Notice',
            component: () =>
                import('@/views/Teacher/NotificationLayout'),
            meta: {
                navActive: '/Teaching/index',
                roles: ['COMMENT_TEACHER','ADMIN', 'INTERNET_ADMIN', 'STUDENT', 'TEACHER', 'UNIVERSITY_TEACHER', 'MARKET_TEACHER', 'SUPER_ADMIN']
            },
            children: [
                // 教师
                {
                    path: 'Myinfomation',
                    component: () =>
                        import('@/views/Teacher/Notification/Myinfomation'),
                    name: 'Myinfomation',
                    meta: {
                        navActive: '/Setting/Notice/Myinfomation',
                        title: '基本信息'
                    }
                },
                {
                    path: 'TNotification',
                    component: () =>
                        import('@/views/Teacher/Notification/TNotification'),
                    name: 'TNotification',
                    meta: {
                        navActive: '/Setting/Notice/TNotification',
                        title: '消息通知'
                    }
                },
                {
                    path: 'Application',
                    component: () =>
                        import('@/views/Teacher/Notification/Application'),
                    name: 'Application',
                    meta: {
                        navActive: '/Setting/Notice/Application',
                        roles: ['MARKET_TEACHER'],
                        title: '申请账号'
                    }
                },
                // {
                //     path: 'SetInfo',
                //     component: () =>
                //         import ('@/views/Teacher/Notification/SetInfo'),
                //     name: 'SetInfo',
                //     meta: {
                //         navActive: '/Setting/Notice/SetInfo',
                //         roles: ['MARKET_TEACHER'],
                //         title: '配置信息'
                //     }
                // },
                {
                    path: 'AdminApplication',
                    component: () =>
                        import('@/views/Teacher/Notification/AdminApplication'),
                    name: 'AdminApplication',
                    meta: {
                        navActive: '/Setting/Notice/AdminApplication',
                        roles: ['INTERNET_ADMIN'],
                        title: '申请账号'
                    }
                },
                {
                    path: 'ChangeCode',
                    component: () =>
                        import('@/views/Teacher/Notification/ChangeCode'),
                    name: 'ChangeCode',
                    meta: {
                        title: '修改密码',
                        navActive: '/Setting/Notice/ChangeCode'
                    }
                },
                {
                    path: 'ProblemBack',
                    component: () =>
                        import('@/views/Teacher/Notification/ProblemBack'),
                    name: 'ProblemBack',
                    meta: {
                        navActive: '/Setting/Notice/ProblemBack',
                        roles: ['TEACHER', 'UNIVERSITY_TEACHER', 'MARKET_TEACHER'],
                        title: '消息通知'
                    }
                },
                // 管理员
                {
                    path: 'AProblemBacks',
                    component: () =>
                        import('@/views/administrator/Notification/AProblemBack'),
                    name: 'AProblemBacks',
                    meta: {
                        title: '问题反馈',
                        navActive: '/Setting/Notice/AProblemBacks',
                        roles: ['INTERNET_ADMIN', 'SUPER_ADMIN']
                    }
                },
                // 学生
                {
                    path: 'STNotification',
                    component: () =>
                        import('@/views/Student/Notification/STNotification'),
                    name: 'STNotification',
                    meta: {
                        title: '消息通知',
                        navActive: '/Setting/Notice/STNotification',
                        roles: ['STUDENT']
                    }
                },
                {
                    path: 'STProblemBack',
                    component: () =>
                        import('@/views/Teacher/Notification/ProblemBack'),
                    name: 'STProblemBack',
                    meta: {
                        title: '问题反馈',
                        navActive: '/Setting/Notice/STProblemBack',

                    }
                },
                {
                    path: 'systemVersion',
                    component: () =>
                        import('@/views/Teacher/system/SystemVersion'),
                    name: 'systemVersion',
                    meta: {
                        title: '系统版本',
                        navActive: '/Setting/Notice/systemVersion',

                    }
                }
            ]
        }]
    },
    {
        path: '/error',
        component: Layout,
        redirect: 'noredirect',
        name: 'errorPages',
        meta: {
            title: 'errorPages',
            icon: '404'
        },
        children: [{
            path: '401',
            component: () =>
                import('@/views/errorPage/401'),
            name: 'page401',
            meta: {
                title: 'page401',
                noCache: true
            }
        },
        {
            path: '404',
            component: () =>
                import('@/views/errorPage/404'),
            name: 'page404',
            meta: {
                title: 'page404',
                noCache: true
            }
        }
        ]
    },
    // 错误日志
    {
        path: '/errorLog',
        component: Layout,
        children: [{
            path: 'errorLog',
            name: 'errorLog',
            component: () =>
                import('@/views/errorLog/errorLog'),
            meta: {
                title: 'Errorlog',
                icon: 'errorLog'
            }
        }]
    },
    {
        path: '*',
        redirect: '/404',
        hidden: true
    }
]


